mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-06 00:18:39 +01:00
Explicitly set completed-Quests as LinkedList, per #1589
This commit is contained in:
parent
5603d514be
commit
a24198751e
@ -3612,7 +3612,11 @@ public class Quester implements Comparable<Quester> {
|
||||
if (completedQuests.isEmpty()) {
|
||||
data.set("completed-Quests", "none");
|
||||
} else {
|
||||
final List<String> questIds = completedQuests.stream().map(Quest::getId).collect(Collectors.toList());
|
||||
//final List<String> questIds = completedQuests.stream().map(Quest::getId).collect(Collectors.toList());
|
||||
final List<String> questIds = new LinkedList<String>();
|
||||
for (final Quest quest : completedQuests) {
|
||||
questIds.add(quest.getId());
|
||||
}
|
||||
data.set("completed-Quests", questIds);
|
||||
}
|
||||
if (completedTimes.isEmpty() == false) {
|
||||
|
Loading…
Reference in New Issue
Block a user