aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0037-Always-tick-falling-blocks.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2023-12-05 20:39:26 +0100
committerNassim Jahnke <[email protected]>2023-12-05 20:39:26 +0100
commitd7fc0c5ab221ea38b4ae14b862c06cfac2fc0277 (patch)
treefbbfa0bd4b942374c50dd5e7a921c5a09224575c /patches/server/0037-Always-tick-falling-blocks.patch
parent603b32976b6fe397beeba53488a8321ddf52f27a (diff)
downloadPaper-d7fc0c5ab221ea38b4ae14b862c06cfac2fc0277.tar.gz
Paper-d7fc0c5ab221ea38b4ae14b862c06cfac2fc0277.zip
More more work
Diffstat (limited to 'patches/server/0037-Always-tick-falling-blocks.patch')
-rw-r--r--patches/server/0037-Always-tick-falling-blocks.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0037-Always-tick-falling-blocks.patch b/patches/server/0037-Always-tick-falling-blocks.patch
new file mode 100644
index 0000000000..10ac3a3800
--- /dev/null
+++ b/patches/server/0037-Always-tick-falling-blocks.patch
@@ -0,0 +1,18 @@
+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] Always tick falling blocks
+
+
+diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
+index 47e7fd7baf3ec6ed3ec9b5e6d73ed8611c2b1ce1..e4efed4e50188b71ff30238b3517a924b45b24b8 100644
+--- a/src/main/java/org/spigotmc/ActivationRange.java
++++ b/src/main/java/org/spigotmc/ActivationRange.java
+@@ -89,6 +89,7 @@ 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 EndCrystal
+ || entity instanceof FireworkRocketEntity
+ || entity instanceof ThrownTrident )