mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-24 18:18:20 +01:00
Fix null bug in #329
This commit is contained in:
parent
46082dff7e
commit
9d4c9a90b5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user