More QuestState related cleanups.
This commit is contained in:
@@ -80,7 +80,7 @@ public final class FreyaCelebration extends LongTimeEvent
|
||||
if (getQuestItemsCount(player, Inventory.ADENA_ID) > 1)
|
||||
{
|
||||
final long _curr_time = System.currentTimeMillis();
|
||||
final String value = loadGlobalQuestVar(player.getAccountName());
|
||||
final String value = getGlobalQuestVar(player.getAccountName());
|
||||
final long _reuse_time = value == "" ? 0 : Long.parseLong(value);
|
||||
|
||||
if (_curr_time > _reuse_time)
|
||||
|
||||
@@ -93,7 +93,7 @@ public final class MasterOfEnchanting extends LongTimeEvent
|
||||
else if (event.equalsIgnoreCase("buy_scroll_24"))
|
||||
{
|
||||
final long curTime = System.currentTimeMillis();
|
||||
final String value = loadGlobalQuestVar(player.getAccountName());
|
||||
final String value = getGlobalQuestVar(player.getAccountName());
|
||||
final long reuse = value == "" ? 0 : Long.parseLong(value);
|
||||
if (player.getCreateDate().after(EVENT_START))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user