diff --git a/src/main/java/me/blackvein/quests/Quester.java b/src/main/java/me/blackvein/quests/Quester.java index 885ca852f..39ab8131e 100644 --- a/src/main/java/me/blackvein/quests/Quester.java +++ b/src/main/java/me/blackvein/quests/Quester.java @@ -2579,10 +2579,11 @@ public class Quester { } else { String[] completed = new String[completedQuests.size()]; + int index = 0; for (String s : completedQuests) { - completed[completedQuests.indexOf(s)] = s; - + completed[index] = s; + index++; } data.set("completed-Quests", completed);