diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-22 21:14:42 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-22 21:14:42 +0000 |
commit | 774e59e179d055d3c525d2709e20a71a31276b3c (patch) | |
tree | 494bcdb92d2e4fe914bd5aa7dd6d7d5ff3c6762b /src/main | |
parent | a3399c64314766bcdd420a1e179fde5b93198906 (diff) | |
download | craftbukkit-774e59e179d055d3c525d2709e20a71a31276b3c.tar craftbukkit-774e59e179d055d3c525d2709e20a71a31276b3c.tar.gz craftbukkit-774e59e179d055d3c525d2709e20a71a31276b3c.tar.lz craftbukkit-774e59e179d055d3c525d2709e20a71a31276b3c.tar.xz craftbukkit-774e59e179d055d3c525d2709e20a71a31276b3c.zip |
Fixed vanillas tile-entity placement bug (thanks Moo0)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/Chunk.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index 88d6917f..6617e5f2 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) { |