mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
CardDb: dont keep allCards list just use values collection
This commit is contained in:
@@ -27,6 +27,7 @@ import forge.util.storage.StorageReaderFile;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
@@ -102,7 +103,7 @@ public class QuestWorld implements Comparable<QuestWorld>{
|
||||
return format;
|
||||
}
|
||||
|
||||
public List<PaperCard> getAllCards() {
|
||||
public Collection<PaperCard> getAllCards() {
|
||||
GameFormat format0 = format;
|
||||
if (format0 == null) {
|
||||
format0 = FModel.getQuest().getMainFormat();
|
||||
|
||||
Reference in New Issue
Block a user