diff --git a/Spigot-Server-Patches/Optimize-TileEntity-Ticking.patch b/Spigot-Server-Patches/Optimize-TileEntity-Ticking.patch index a95545515b..0c61d196f4 100644 --- a/Spigot-Server-Patches/Optimize-TileEntity-Ticking.patch +++ b/Spigot-Server-Patches/Optimize-TileEntity-Ticking.patch @@ -130,6 +130,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 // Spigot start if (tileentity == null) { getServer().getLogger().severe("Spigot has detected a null entity and has removed it, preventing a crash"); +- tilesThisCycle--; - this.tileEntityList.remove(tileTickPosition--); + iterator.remove(); // PaperSpigot - Remove Spigot's TE handling in favor of our own continue; @@ -139,6 +140,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } if (tileentity.x()) { +- tilesThisCycle--; - this.tileEntityList.remove(tileTickPosition--); + iterator.remove(); // PaperSpigot - Remove Spigot's TE handling in favor of our own this.h.remove(tileentity);