diff --git a/src/main/java/me/blackvein/quests/Quester.java b/src/main/java/me/blackvein/quests/Quester.java index 9c37a61e2..523075584 100644 --- a/src/main/java/me/blackvein/quests/Quester.java +++ b/src/main/java/me/blackvein/quests/Quester.java @@ -2578,7 +2578,10 @@ public class Quester { List questNames = data.getStringList("currentQuests"); List questStages = data.getIntegerList("currentStages"); - for (int i = 0; i < questNames.size(); i++) { + // These appear to differ sometimes? That seems bad. + int maxSize = Math.min(questNames.size(), questStages.size()); + + for (int i = 0; i < maxSize; i++) { if (plugin.getQuest(questNames.get(i)) != null) { currentQuests.put(plugin.getQuest(questNames.get(i)), questStages.get(i)); }