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

This commit is contained in:
Tahg 2012-02-02 07:54:51 -05:00 committed by EvilSeph
parent 2dba592dc4
commit 8bf770c5f9

View File

@ -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
}
}