Patch block break data loss issue (PikaMug/#793)

Use correct stage number instead of hardcoded first stage.
This commit is contained in:
Patrick Zhong 2019-07-30 23:33:39 -06:00
parent d8d68e5f80
commit 4c7029cb47

View File

@ -2590,7 +2590,7 @@ public class Quester {
plugin.getLogger().severe("[Quests] Invalid stage number for player: \"" + id + "\" on Quest \"" + quest.getName() + "\". Quest ended.");
continue;
}
addEmptiesFor(quest, 0);
addEmptiesFor(quest, currentQuests.get(quest));
if (questSec == null)
continue;
if (questSec.contains("blocks-broken-names")) {