aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch')
-rw-r--r--patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch b/patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch
new file mode 100644
index 0000000000..c402bdafa2
--- /dev/null
+++ b/patches/server/0036-Add-more-entities-to-activation-range-ignore-list.patch
@@ -0,0 +1,20 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Zach Brown <[email protected]>
+Date: Wed, 2 Mar 2016 00:32:25 -0600
+Subject: [PATCH] Add more entities to activation range ignore list
+
+
+diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
+index a5da6c1cae0afbde684be250e2fc3c0c32a1265b..6d51464f6368151e8acc532414ee223714584e96 100644
+--- a/src/main/java/org/spigotmc/ActivationRange.java
++++ b/src/main/java/org/spigotmc/ActivationRange.java
+@@ -92,6 +92,9 @@ public class ActivationRange
+ || entity instanceof AbstractHurtingProjectile
+ || entity instanceof LightningBolt
+ || entity instanceof PrimedTnt
++ || entity instanceof net.minecraft.world.entity.item.FallingBlockEntity // Paper - Always tick falling blocks
++ || entity instanceof net.minecraft.world.entity.vehicle.AbstractMinecart // Paper
++ || entity instanceof net.minecraft.world.entity.vehicle.Boat // Paper
+ || entity instanceof EndCrystal
+ || entity instanceof FireworkRocketEntity
+ || entity instanceof ThrownTrident )