mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
b270fb08ff
--- work/CraftBukkit Submodule work/CraftBukkit ba575a5a..b7fea427: > SPIGOT-5010: World.getEntities returns entities in border chunks > Show incorrect size passed into createInventory --- work/Spigot Submodule work/Spigot 093165d1..01d0f046: > SPIGOT-4986: EntityActivationRange - Raiders > SPIGOT-4988: Setting "mob-spawn-range" in spigot.yml also effects random block ticks
27 lines
No EOL
1.3 KiB
Diff
27 lines
No EOL
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
|
Date: Wed, 2 Mar 2016 00:32:25 -0600
|
|
Subject: [PATCH] Always tick falling blocks
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
|
|
index 106e9d7e2..7341dc2c1 100644
|
|
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
|
+++ b/src/main/java/org/spigotmc/ActivationRange.java
|
|
@@ -0,0 +0,0 @@ import net.minecraft.server.EntityCreature;
|
|
import net.minecraft.server.EntityCreeper;
|
|
import net.minecraft.server.EntityEnderCrystal;
|
|
import net.minecraft.server.EntityEnderDragon;
|
|
+import net.minecraft.server.EntityFallingBlock; // Paper
|
|
import net.minecraft.server.EntityFireball;
|
|
import net.minecraft.server.EntityFireworks;
|
|
import net.minecraft.server.EntityHuman;
|
|
@@ -0,0 +0,0 @@ public class ActivationRange
|
|
|| entity instanceof EntityFireball
|
|
|| entity instanceof EntityLightning
|
|
|| entity instanceof EntityTNTPrimed
|
|
+ || entity instanceof EntityFallingBlock // Paper - Always tick falling blocks
|
|
|| entity instanceof EntityEnderCrystal
|
|
|| entity instanceof EntityFireworks
|
|
|| entity instanceof EntityThrownTrident )
|
|
--
|