Added debug to help with diagnosing tile entity issues in the future.
This commit is contained in:
parent
2dba592dc4
commit
8bf770c5f9
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user