Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
233814297b
It appears to cause visual glitching issues with certain TNT entities fired from cannons. TileEntity tick capping has already been removed for some time, Entity tick capping removal is new to this patch.
30 Zeilen
1.3 KiB
Diff
30 Zeilen
1.3 KiB
Diff
From a9abb0aacbdd552d1ba8fff85f4d5dec3d33fbc3 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.4.1.windows.1
|
|
|