aboutsummaryrefslogtreecommitdiff
path: root/defaults/src
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-02-13 11:01:45 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-02-13 11:01:45 +0200
commitfe02178b220ebf57225bd092bfdb0d8b88067c33 (patch)
tree181746d9bdc746df55edc75558236fef13085b3d /defaults/src
parent49318a4452f629274e96001700006e0b4a1464a5 (diff)
downloadCITResewn-fe02178b220ebf57225bd092bfdb0d8b88067c33.tar.gz
CITResewn-fe02178b220ebf57225bd092bfdb0d8b88067c33.tar.bz2
CITResewn-fe02178b220ebf57225bd092bfdb0d8b88067c33.zip
Generified CITs to their type
Diffstat (limited to 'defaults/src')
-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)