mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
Add Npc.toString method.
This commit is contained in:
@@ -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() + "]";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user