Addition of %npcname% replaceable npc html string.

This commit is contained in:
MobiusDev
2018-02-19 06:52:09 +00:00
parent bf1d5e3f97
commit ff7006dbc2
12 changed files with 18 additions and 6 deletions

View File

@@ -1179,6 +1179,7 @@ public class L2Npc extends L2Character
}
}
html.replace("%npcname%", String.valueOf(getName()));
html.replace("%objectId%", String.valueOf(getObjectId()));
html.replace("%festivalMins%", SevenSignsFestival.getInstance().getTimeToNextFestivalStr());
player.sendPacket(html);