mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 08:39:17 +00:00
Add Npc.toString method.
This commit is contained in:
@@ -59,4 +59,8 @@ public final class Npc extends Mob {
|
|||||||
return EntityType.NPC;
|
return EntityType.NPC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "[" + Npc.class.getName() + ": id=" + definition.getId() + ", name=" + definition.getName() + "]";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user