2019-06-14 10:27:40 +08:00
|
|
|
From 8576f528af0499d34185a87f3f3435d7eceea674 Mon Sep 17 00:00:00 2001
|
2016-03-25 12:59:37 +08:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.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
|
2019-06-06 23:36:57 +08:00
|
|
|
index 106e9d7e2d..7341dc2c1c 100644
|
2016-03-25 12:59:37 +08:00
|
|
|
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/ActivationRange.java
|
|
|
|
@@ -13,6 +13,7 @@ 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;
|
2019-05-31 07:54:25 +08:00
|
|
|
@@ -93,6 +94,7 @@ public class ActivationRange
|
2016-03-25 12:59:37 +08:00
|
|
|
|| entity instanceof EntityFireball
|
2019-04-24 10:34:11 +08:00
|
|
|
|| entity instanceof EntityLightning
|
2016-03-25 12:59:37 +08:00
|
|
|
|| entity instanceof EntityTNTPrimed
|
|
|
|
+ || entity instanceof EntityFallingBlock // Paper - Always tick falling blocks
|
|
|
|
|| entity instanceof EntityEnderCrystal
|
2018-07-15 09:53:17 +08:00
|
|
|
|| entity instanceof EntityFireworks
|
|
|
|
|| entity instanceof EntityThrownTrident )
|
2016-03-25 12:59:37 +08:00
|
|
|
--
|
2019-04-23 12:47:07 +08:00
|
|
|
2.21.0
|
2016-03-25 12:59:37 +08:00
|
|
|
|