aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java b/src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java
index db5bc04..f4d2b5b 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/ActiveCITs.java
@@ -46,7 +46,11 @@ public class ActiveCITs {
citEnchantmentLayers.computeIfAbsent(enchantment.layer, l -> new ArrayList<>()).add(enchantment);
}
- citEnchantments.addAll(citEnchantmentLayers.values());
+ for (List<CITEnchantment> layer : citEnchantmentLayers.values()) {
+ for (CITEnchantment enchantment : layer)
+ enchantment.activate();
+ citEnchantments.add(layer);
+ }
}
public void dispose() {