2020-05-06 09:48:49 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2016-03-25 04:59:37 +00: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
|
2021-02-05 22:52:27 +00:00
|
|
|
index 093a11b6e355f9e1236ecca921ea55488d70451d..d44ef056bdab3bcff39aea45b40a4c7e9c62398f 100644
|
2016-03-25 04:59:37 +00:00
|
|
|
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/ActivationRange.java
|
2021-02-05 22:52:27 +00:00
|
|
|
@@ -12,6 +12,7 @@ import net.minecraft.server.EntityCreature;
|
2016-03-25 04:59:37 +00:00
|
|
|
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;
|
2021-02-05 22:52:27 +00:00
|
|
|
@@ -91,6 +92,7 @@ public class ActivationRange
|
2016-03-25 04:59:37 +00:00
|
|
|
|| entity instanceof EntityFireball
|
2019-04-24 02:34:11 +00:00
|
|
|
|| entity instanceof EntityLightning
|
2016-03-25 04:59:37 +00:00
|
|
|
|| entity instanceof EntityTNTPrimed
|
|
|
|
+ || entity instanceof EntityFallingBlock // Paper - Always tick falling blocks
|
|
|
|
|| entity instanceof EntityEnderCrystal
|
2018-07-15 01:53:17 +00:00
|
|
|
|| entity instanceof EntityFireworks
|
|
|
|
|| entity instanceof EntityThrownTrident )
|