Merge pull request #328 from Trigary/patch-1

Fix errors when loading Break Block stages, fixes #327
This commit is contained in:
FlyingPikachu 2018-03-05 18:14:34 -05:00 committed by GitHub
commit 37ceab2f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1962,7 +1962,7 @@ public class Quester {
// Legacy // Legacy
is = new ItemStack(Material.matchMaterial(s), amounts.get(names.indexOf(s)), (short) 0); is = new ItemStack(Material.matchMaterial(s), amounts.get(names.indexOf(s)), (short) 0);
} }
getQuestData(quest).blocksBroken.set(names.indexOf(s), is); getQuestData(quest).blocksBroken.add(is);
} }
} }
if (questSec.contains("blocks-damaged-names")) { if (questSec.contains("blocks-damaged-names")) {
@ -2583,4 +2583,4 @@ public class Quester {
break; break;
} }
} }
} }