mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-18 06:57:49 +01:00
Always tick falling blocks - Exclude from EAR
This commit is contained in:
parent
232c6f8387
commit
9a77c8ec95
29
Spigot-Server-Patches/0041-Always-tick-falling-blocks.patch
Normal file
29
Spigot-Server-Patches/0041-Always-tick-falling-blocks.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From abbb5272436f915a1f267cb187a85682a311ef4b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||||
|
Date: Fri, 10 Apr 2015 18:07:36 -0500
|
||||||
|
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 621a717..7ca1b24 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.EntityComplexPart;
|
||||||
|
import net.minecraft.server.EntityCreature;
|
||||||
|
import net.minecraft.server.EntityEnderCrystal;
|
||||||
|
import net.minecraft.server.EntityEnderDragon;
|
||||||
|
+import net.minecraft.server.EntityFallingBlock;
|
||||||
|
import net.minecraft.server.EntityFireball;
|
||||||
|
import net.minecraft.server.EntityFireworks;
|
||||||
|
import net.minecraft.server.EntityHuman;
|
||||||
|
@@ -80,6 +81,7 @@ public class ActivationRange
|
||||||
|
|| entity instanceof EntityFireball
|
||||||
|
|| entity instanceof EntityWeather
|
||||||
|
|| entity instanceof EntityTNTPrimed
|
||||||
|
+ || entity instanceof EntityFallingBlock // PaperSpigot - Always tick falling blocks
|
||||||
|
|| entity instanceof EntityEnderCrystal
|
||||||
|
|| entity instanceof EntityFireworks )
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.3.5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user