aboutsummaryrefslogtreecommitdiff
path: root/defaults/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'defaults/src/main/java')
-rw-r--r--defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java
index 8e3bcbc..1b0e98e 100644
--- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java
+++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java
@@ -26,11 +26,11 @@ public class TypeItem extends CITType {
super(TypeItem.class, TypeItem::new, "item");
}
- public Map<Item, Set<CIT>> loaded = new IdentityHashMap<>();
+ public Map<Item, Set<CIT<TypeItem>>> loaded = new IdentityHashMap<>();
@Override
- public void load(List<CIT> parsedCITs) {
- for (CIT cit : parsedCITs)
+ public void load(List<CIT<TypeItem>> parsedCITs) {
+ for (CIT<TypeItem> cit : parsedCITs)
for (CITCondition condition : cit.conditions)
if (condition instanceof ConditionItems items)
for (Item item : items.items)