diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index c98c8087c..d60866e56 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -2610,7 +2610,7 @@ public void reachLocation(final Quest quest, final Location l) { finishObjective(quest, new Objective(type, new ItemStack(Material.AIR, 1), new ItemStack(Material.AIR, 1)), null, null, null, location, null, null, null); - } else if (getQuestData(quest).hasReached.get(index) == false) { + } else if (index >= getQuestData(quest).hasReached.size()) { getQuestData(quest).hasReached.set(index, true); finishObjective(quest, new Objective(type, new ItemStack(Material.AIR, 1), new ItemStack(Material.AIR, 1)), null, null, null, location, null, null,