Add Npc.toString method.

This commit is contained in:
Major-
2014-02-14 22:04:42 +00:00
parent 0d367c9cf7
commit 74142980d6
+4
View File
@@ -59,4 +59,8 @@ public final class Npc extends Mob {
return EntityType.NPC;
}
@Override
public String toString() {
return "[" + Npc.class.getName() + ": id=" + definition.getId() + ", name=" + definition.getName() + "]";
}
}