mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fix so the most recent edition with art appears in ItemManagers
This commit is contained in:
@@ -19,6 +19,7 @@ package forge.util;
|
|||||||
|
|
||||||
import com.google.common.base.Function;
|
import com.google.common.base.Function;
|
||||||
import com.google.common.base.Predicate;
|
import com.google.common.base.Predicate;
|
||||||
|
|
||||||
import forge.item.InventoryItem;
|
import forge.item.InventoryItem;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@@ -68,7 +69,7 @@ public class ItemPool<T extends InventoryItem> implements Iterable<Entry<T, Inte
|
|||||||
* a T
|
* a T
|
||||||
*/
|
*/
|
||||||
public ItemPool(final Class<T> cls) {
|
public ItemPool(final Class<T> cls) {
|
||||||
this(new Hashtable<T, Integer>(), cls);
|
this(new LinkedHashMap<T, Integer>(), cls);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
|||||||
Reference in New Issue
Block a user