Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
5b6dfb3463
This work is 100% unfinished. I am pushing it up so that we as a team can work on this update. Do not try to use this branch. You will fail.
30 Zeilen
1.3 KiB
Diff
30 Zeilen
1.3 KiB
Diff
From 0ded699fa2af784c8866b92e86dca3d5cd3b321b Mon Sep 17 00:00:00 2001
|
|
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
|
|
index f68e42c4d..1aade75f3 100644
|
|
--- 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;
|
|
@@ -81,6 +82,7 @@ public class ActivationRange
|
|
|| entity instanceof EntityFireball
|
|
|| entity instanceof EntityWeather
|
|
|| entity instanceof EntityTNTPrimed
|
|
+ || entity instanceof EntityFallingBlock // Paper - Always tick falling blocks
|
|
|| entity instanceof EntityEnderCrystal
|
|
|| entity instanceof EntityFireworks
|
|
|| entity instanceof EntityThrownTrident )
|
|
--
|
|
2.18.0
|
|
|