Proper instance type substring for NPC information window.
This commit is contained in:
parent
565933653d
commit
2dd63be16d
@ -846,7 +846,7 @@ public class NpcInstance extends Creature
|
||||
// Send a Server->Client NpcHtmlMessage() containing the GM console about this NpcInstance
|
||||
NpcHtmlMessage html = new NpcHtmlMessage(0);
|
||||
StringBuilder html1 = new StringBuilder("<html><body><center><font color=\"LEVEL\">NPC Information</font></center>");
|
||||
String className = getClass().getName().substring(43);
|
||||
String className = getClass().getName().substring(46);
|
||||
html1.append("<br>");
|
||||
|
||||
html1.append("Instance Type: " + className + "<br1>Faction: " + getTemplate().factionId + "<br1>Location ID: " + (_spawn != null ? _spawn.getLocation() : 0) + "<br1>");
|
||||
|
Loading…
Reference in New Issue
Block a user