From fe02178b220ebf57225bd092bfdb0d8b88067c33 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sun, 13 Feb 2022 11:01:45 +0200 Subject: Generified CITs to their type --- .../shsupercm/fabric/citresewn/defaults/cit/types/TypeItem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'defaults/src/main/java/shcm') 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> loaded = new IdentityHashMap<>(); + public Map>> loaded = new IdentityHashMap<>(); @Override - public void load(List parsedCITs) { - for (CIT cit : parsedCITs) + public void load(List> parsedCITs) { + for (CIT cit : parsedCITs) for (CITCondition condition : cit.conditions) if (condition instanceof ConditionItems items) for (Item item : items.items) -- cgit