From 390839a20755671164bd5523da34b6803ca75b08 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sun, 22 Feb 2015 11:08:39 +0000 Subject: [PATCH] Fix a possible edge case with the ticking changes by delaying removal until next tick --- .../0160-Allow-Capping-Tile-Entity-Tick-Time.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CraftBukkit-Patches/0160-Allow-Capping-Tile-Entity-Tick-Time.patch b/CraftBukkit-Patches/0160-Allow-Capping-Tile-Entity-Tick-Time.patch index e15ffaaf4..a05b54835 100644 --- a/CraftBukkit-Patches/0160-Allow-Capping-Tile-Entity-Tick-Time.patch +++ b/CraftBukkit-Patches/0160-Allow-Capping-Tile-Entity-Tick-Time.patch @@ -32,6 +32,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } public World b() { +@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { + this.everyoneSleeping(); + } + +- if (!guardEntityList) { // Spigot - It will get removed after the tick if we are ticking ++ if (false) { // Spigot - It will get removed next tick + int i = entity.ae; + int j = entity.ag; + @@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { timings.entityTick.startTiming(); // Spigot guardEntityList = true; // Spigot