QuestState isNowAvailable method should not return null values as true.

This commit is contained in:
MobiusDev
2018-07-07 12:23:10 +00:00
parent cffea875fd
commit fd58e1bfa7
9 changed files with 9 additions and 17 deletions

View File

@@ -61,7 +61,7 @@ public final class BlackMarketeerOfMammon extends AbstractNpcAI
if (player.getLevel() >= MIN_LEVEL)
{
final QuestState qs = getQuestState(player, true);
if (!qs.isNowAvailable())
if ((qs.get("restartTime") != null) && !qs.isNowAvailable())
{
htmltext = "31092-03.html";
}