summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Chunk.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-10-02 04:25:21 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-10-03 00:14:06 +0100
commitbf09121354b4d1bc3c34a86eac9e42d54d06724e (patch)
treefee8f7ba09a520cc7e40fa48af6c54ccd02d9022 /src/main/java/net/minecraft/server/Chunk.java
parent39674b6fb02fc3b771701fca52110623ad1d1967 (diff)
downloadcraftbukkit-bf09121354b4d1bc3c34a86eac9e42d54d06724e.tar
craftbukkit-bf09121354b4d1bc3c34a86eac9e42d54d06724e.tar.gz
craftbukkit-bf09121354b4d1bc3c34a86eac9e42d54d06724e.tar.lz
craftbukkit-bf09121354b4d1bc3c34a86eac9e42d54d06724e.tar.xz
craftbukkit-bf09121354b4d1bc3c34a86eac9e42d54d06724e.zip
Attempt to fix any damage caused by misplaced tile entities
Diffstat (limited to 'src/main/java/net/minecraft/server/Chunk.java')
-rw-r--r--src/main/java/net/minecraft/server/Chunk.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index 4982e6d6..939fa69f 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -605,7 +605,10 @@ public class Chunk {
tileentity.n();
this.tileEntities.put(chunkposition, tileentity);
} else {
- System.out.println("Attempted to place a tile entity where there was no entity tile!");
+ // CraftBukkit start
+ System.out.println("Attempted to place a tile entity (" + tileentity + ") at " + tileentity.x + "," + tileentity.y + "," + tileentity.z
+ + " (" + org.bukkit.Material.getMaterial(getTypeId(i, j, k)) + ") where there was no entity tile!");
+ // CraftBukkit end
}
}