From 774e59e179d055d3c525d2709e20a71a31276b3c Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Tue, 22 Nov 2011 21:14:42 +0000 Subject: [PATCH] Fixed vanillas tile-entity placement bug (thanks Moo0) --- src/main/java/net/minecraft/server/Chunk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index 88d6917f01..6617e5f269 100644 --- a/src/main/java/net/minecraft/server/Chunk.java +++ b/src/main/java/net/minecraft/server/Chunk.java @@ -343,7 +343,7 @@ public class Chunk { tileentity = this.d(i, j, k); if (tileentity == null) { tileentity = ((BlockContainer) Block.byId[l]).a_(); - this.world.setTileEntity(i, j, k, tileentity); + this.world.setTileEntity(i2, j, j2, tileentity); // CraftBukkit - Use world rather than in-chunk coords } if (tileentity != null) {