Added debug to help with diagnosing tile entity issues in the future.

This commit is contained in:
Tahg authored and EvilSeph committed 2012-02-03 00:50:35 -05:00
1 parent 2dba592dc4
commit 8bf770c5f9
1 file changed
+2
@@ -601,6 +601,8 @@ public class Chunk {
} else {
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!");
System.out.println("Chunk coordinates: " + (this.x * 16) + "," + (this.z * 16));
new Exception().printStackTrace();
// CraftBukkit end
}
}