mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +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.Predicate;
|
||||
|
||||
import forge.item.InventoryItem;
|
||||
|
||||
import java.util.*;
|
||||
@@ -68,7 +69,7 @@ public class ItemPool<T extends InventoryItem> implements Iterable<Entry<T, Inte
|
||||
* a T
|
||||
*/
|
||||
public ItemPool(final Class<T> cls) {
|
||||
this(new Hashtable<T, Integer>(), cls);
|
||||
this(new LinkedHashMap<T, Integer>(), cls);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user