summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2011-09-16 22:24:09 -0400
committerEvilSeph <evilseph@gmail.com>2011-09-16 22:26:11 -0400
commit096672b3c1e82795f8cbb53bc0a6eb4ed8060088 (patch)
tree6867235216cad924dd69de95fa76d9a46c5d3dd5 /src/main/java
parent820c51ab97a21525a057cda537a76dba4e18706b (diff)
downloadcraftbukkit-096672b3c1e82795f8cbb53bc0a6eb4ed8060088.tar
craftbukkit-096672b3c1e82795f8cbb53bc0a6eb4ed8060088.tar.gz
craftbukkit-096672b3c1e82795f8cbb53bc0a6eb4ed8060088.tar.lz
craftbukkit-096672b3c1e82795f8cbb53bc0a6eb4ed8060088.tar.xz
craftbukkit-096672b3c1e82795f8cbb53bc0a6eb4ed8060088.zip
Added toString overrides to new Craft entities.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftCaveSpider.java5
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftEnderman.java5
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftSilverfish.java5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftCaveSpider.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftCaveSpider.java
index 6822e52e..5f3bfe94 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftCaveSpider.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftCaveSpider.java
@@ -13,4 +13,9 @@ public class CraftCaveSpider extends CraftSpider implements CaveSpider {
public EntityCaveSpider getHandle() {
return (EntityCaveSpider) super.getHandle();
}
+
+ @Override
+ public String toString() {
+ return "CraftCaveSpider";
+ }
}
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderman.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderman.java
index b68a524d..ac680b15 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderman.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderman.java
@@ -13,4 +13,9 @@ public class CraftEnderman extends CraftMonster implements Enderman {
public EntityEnderman getHandle() {
return (EntityEnderman) super.getHandle();
}
+
+ @Override
+ public String toString() {
+ return "CraftEnderman";
+ }
}
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSilverfish.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSilverfish.java
index 8f6d3c23..8296feae 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSilverfish.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSilverfish.java
@@ -13,4 +13,9 @@ public class CraftSilverfish extends CraftMonster implements Silverfish {
public EntitySilverfish getHandle() {
return (EntitySilverfish) super.getHandle();
}
+
+ @Override
+ public String toString() {
+ return "CraftSilverfish";
+ }
}