Add NPC id to devtools
This commit is contained in:
@@ -155,7 +155,7 @@ public class DevToolsOverlay extends Overlay
|
|||||||
{
|
{
|
||||||
if (npc != null)
|
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)
|
if (npc.getCombatLevel() > 1)
|
||||||
{
|
{
|
||||||
OverlayUtil.renderActorOverlay(graphics, npc, text, YELLOW);
|
OverlayUtil.renderActorOverlay(graphics, npc, text, YELLOW);
|
||||||
|
|||||||
Reference in New Issue
Block a user