Skip to content

Commit

Permalink
Fix debugging log position to give useful information
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jun 18, 2013
1 parent a2c1bae commit ca2387e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,12 +58,12 @@ public void doTick() {
invalidate(tileEntity);
continue;
}
manager.add(tileEntity, false);
if (Log.debug) {
Log.debug("A tile entity is in the wrong TickRegion - was it moved by a player, or did something break?"
+ "\n entity: " + Log.toString(tileEntity)
+ "\n In " + hashCode + "\t.tickRegion: " + tileEntity.tickRegion.hashCode + "\texpected: " + manager.getHashCode(xPos, zPos));
}
manager.add(tileEntity, false);
manager.lock(tileEntity);
continue;
}
Expand Down

0 comments on commit ca2387e

Please sign in to comment.