diff --git a/Spigot-Server-Patches/Avoid-Chunk-Lookups-for-Entity-TileEntity-Current-Ch.patch b/Spigot-Server-Patches/Avoid-Chunk-Lookups-for-Entity-TileEntity-Current-Ch.patch index 14dad4fbf..d3341af44 100644 --- a/Spigot-Server-Patches/Avoid-Chunk-Lookups-for-Entity-TileEntity-Current-Ch.patch +++ b/Spigot-Server-Patches/Avoid-Chunk-Lookups-for-Entity-TileEntity-Current-Ch.patch @@ -22,7 +22,7 @@ index 71d0db3f3..a51b648c5 100644 this.a(entity, entity.ac); } diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java -index c0816b9f8..bd15f0588 100644 +index c0816b9f8..623290caa 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { @@ -83,17 +83,6 @@ index c0816b9f8..bd15f0588 100644 this.getChunkAtWorldCoords(tileentity.getPosition()).d(tileentity.getPosition()); } } -@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { - } - // CraftBukkit end */ - -+ // Paper - if (this.isLoaded(tileentity1.getPosition())) { - Chunk chunk = this.getChunkAtWorldCoords(tileentity1.getPosition()); -+ // Paper end - IBlockData iblockdata = chunk.getBlockData(tileentity1.getPosition()); - - chunk.a(tileentity1.getPosition(), tileentity1); @@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess { int k = MathHelper.floor(entity.locZ / 16.0D);