13
0
geforkt von Mirrors/Paper

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

Dieser Commit ist enthalten in:
Tahg 2012-02-02 07:54:51 -05:00 committet von EvilSeph
Ursprung 2dba592dc4
Commit 8bf770c5f9

Datei anzeigen

@ -601,6 +601,8 @@ public class Chunk {
} else { } else {
System.out.println("Attempted to place a tile entity (" + tileentity + ") at " + tileentity.x + "," + tileentity.y + "," + tileentity.z 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!"); + " (" + 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 // CraftBukkit end
} }
} }