Addition of %npcname% replaceable npc html string.
This commit is contained in:
@@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
Reference in New Issue
Block a user