Add NPC id to devtools

This commit is contained in:
sethtroll
2017-07-13 18:03:28 -05:00
parent ba3c1c2eea
commit 58a56d4e9a

View File

@@ -155,7 +155,7 @@ public class DevToolsOverlay extends Overlay
{
if (npc != null)
{
String text = npc.getName() + " (A: " + npc.getAnimation() + ") (G: " + npc.getGraphic() + ")";
String text = npc.getName() + " (ID: " + npc.getId() + ") (A: " + npc.getAnimation() + ") (G: " + npc.getGraphic() + ")";
if (npc.getCombatLevel() > 1)
{
OverlayUtil.renderActorOverlay(graphics, npc, text, YELLOW);