Updated AetherDrops script.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment
2021-11-19 14:49:15 +00:00
parent 50674cf0bb
commit 8275c306c7
5 changed files with 182 additions and 23 deletions

View File

@@ -117,11 +117,11 @@ public class AetherDrops extends AbstractNpcAI
}
// Update data for online players.
World.getInstance().getPlayers().stream().forEach(plr ->
for (Player plr : World.getInstance().getPlayers())
{
plr.getVariables().remove(AETHER_DROP_COUNT_VAR);
plr.getVariables().storeMe();
});
}
cancelQuestTimers("schedule");
startQuestTimer("schedule", 1000, null, null);