From 8bf770c5f9fefe6181acacd1312d73629b92eb0d Mon Sep 17 00:00:00 2001 From: Tahg Date: Thu, 2 Feb 2012 07:54:51 -0500 Subject: [PATCH] Added debug to help with diagnosing tile entity issues in the future. --- src/main/java/net/minecraft/server/Chunk.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index a550bc4c7b..1b96c2d293 100644 --- a/src/main/java/net/minecraft/server/Chunk.java +++ b/src/main/java/net/minecraft/server/Chunk.java @@ -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 } }