Attempt to fix any damage caused by misplaced tile entities

This commit is contained in:
Dinnerbone
2011-10-02 04:25:21 +01:00
parent 39674b6fb0
commit bf09121354
2 changed files with 60 additions and 1 deletions

View File

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