summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2011-11-25 00:15:00 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2011-11-25 00:15:00 +0000
commit620f1014871edaefaa7e11b409429328aca149c3 (patch)
treee585cf0aea9b838bef8485d7cbc1f2147bba431b /src/main/java
parente31cedf583a4091b6bfc7f5832452e9d97472174 (diff)
downloadcraftbukkit-620f1014871edaefaa7e11b409429328aca149c3.tar
craftbukkit-620f1014871edaefaa7e11b409429328aca149c3.tar.gz
craftbukkit-620f1014871edaefaa7e11b409429328aca149c3.tar.lz
craftbukkit-620f1014871edaefaa7e11b409429328aca149c3.tar.xz
craftbukkit-620f1014871edaefaa7e11b409429328aca149c3.zip
Another attempt at the vanilla tile entity bug
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/Chunk.java2
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 6617e5f2..72a29a9c 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -407,7 +407,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(l1, j, i2, tileentity); // CraftBukkit - Use world rather than in-chunk coords
}
if (tileentity != null) {