diff --git a/src/org/bukkit/craftbukkit/CraftBlock.java b/src/org/bukkit/craftbukkit/CraftBlock.java index 5d86556417..8da650899b 100644 --- a/src/org/bukkit/craftbukkit/CraftBlock.java +++ b/src/org/bukkit/craftbukkit/CraftBlock.java @@ -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 + '}'; + } } diff --git a/src/org/bukkit/craftbukkit/CraftChunk.java b/src/org/bukkit/craftbukkit/CraftChunk.java index 2fe28212ce..003ee0f464 100644 --- a/src/org/bukkit/craftbukkit/CraftChunk.java +++ b/src/org/bukkit/craftbukkit/CraftChunk.java @@ -29,4 +29,9 @@ public class CraftChunk implements Chunk { public int getZ() { return z; } + + @Override + public String toString() { + return "CraftChunk{" + "x=" + x + "z=" + z + '}'; + } } diff --git a/src/org/bukkit/craftbukkit/CraftPlayer.java b/src/org/bukkit/craftbukkit/CraftPlayer.java index 2f0c66110d..b347c11d96 100644 --- a/src/org/bukkit/craftbukkit/CraftPlayer.java +++ b/src/org/bukkit/craftbukkit/CraftPlayer.java @@ -36,4 +36,9 @@ public class CraftPlayer implements Player { public EntityPlayerMP getEntity() { return player; } + + @Override + public String toString() { + return "CraftPlayer{" + "name=" + name + '}'; + } }