Fix null bug in #329

This commit is contained in:
Patrick Zhong 2017-06-19 13:31:45 -07:00 committed by GitHub
parent 46082dff7e
commit 9d4c9a90b5

View File

@ -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);