- Fixed Mentoring Guidebook double html problem.

- Improved default PC Cafe button html.
This commit is contained in:
mobius 2015-01-30 01:06:42 +00:00
parent ed5fd788cf
commit ffda2d7987
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
<html><body>Player Commendation Points:<br>
<html><title>Player Commendation System</title><body>Player Commendation Points:<br>
You can use PC points to buy items.<br>
It is possible to buy several <font color="LEVEL">General Items</font>, like hair accessories or even <font color="LEVEL">Weapons and Enchant Weapon Scrolls</font> up to <font color="LEVEL">A-Grade</font>.<br>
Take a look on the current rewards.<br>
<br>
<font color="LEVEL">
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h pccafe_buy 900001">Buy General Items</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h pccafe_buy 900002">Buy Weapons and Enchant Weapon Scrolls</Button>
</font>
</body></html>

View File

@ -52,7 +52,7 @@ public class Book implements IItemHandler
}
else
{
final NpcHtmlMessage itemReply = new NpcHtmlMessage(0, item.getId());
final NpcHtmlMessage itemReply = new NpcHtmlMessage();
itemReply.setHtml(content);
activeChar.sendPacket(itemReply);
}