QuestList packet rework.

Contributed by rocknowx.
This commit is contained in:
MobiusDev
2015-11-28 00:23:12 +00:00
parent 8d5e8e97c1
commit eb3f869b56
4 changed files with 93 additions and 13 deletions

View File

@ -225,7 +225,7 @@ public class QuestLink implements IBypassHandler
if ((q.getId() >= 1) && (q.getId() < 20000))
{
// Too many ongoing quests.
if (player.getAllActiveQuests().length > 40)
if (player.getAllActiveQuests().size() > 40)
{
final NpcHtmlMessage html = new NpcHtmlMessage(npc.getObjectId());
html.setFile(player.getHtmlPrefix(), "html/fullquest.html");