Add some .toString()s

This commit is contained in:
Dinnerbone
2010-12-29 00:29:18 +00:00
parent b3c6a7953d
commit e85cabeb4f
3 changed files with 15 additions and 0 deletions

View File

@@ -124,4 +124,9 @@ public class CraftBlock implements Block {
public Block getRelative(final int modX, final int modY, final int modZ) {
return getWorld().getBlockAt(getX() + modX, getY() + modY, getZ() + modZ);
}
@Override
public String toString() {
return "CraftBlock{" + "world=" + world + "x=" + x + "y=" + y + "z=" + z + "type=" + type + "data=" + data + '}';
}
}