mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Add Npc.toString method.
This commit is contained in:
1 parent
0d367c9cf7
commit
74142980d6
1 file changed
+4
@@ -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