Merge pull request #885 from 18PatZ/master

Patch block objective data loss issue (#793)
This commit is contained in:
PikaMug 2019-07-31 12:32:57 -04:00 committed by GitHub
commit b1a42e4426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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."); plugin.getLogger().severe("[Quests] Invalid stage number for player: \"" + id + "\" on Quest \"" + quest.getName() + "\". Quest ended.");
continue; continue;
} }
addEmptiesFor(quest, 0); addEmptiesFor(quest, currentQuests.get(quest));
if (questSec == null) if (questSec == null)
continue; continue;
if (questSec.contains("blocks-broken-names")) { if (questSec.contains("blocks-broken-names")) {