diff --git a/src/main/java/com/aizistral/enigmaticlegacy/handlers/EnigmaticEventHandler.java b/src/main/java/com/aizistral/enigmaticlegacy/handlers/EnigmaticEventHandler.java index 09c3a547..1651b9da 100644 --- a/src/main/java/com/aizistral/enigmaticlegacy/handlers/EnigmaticEventHandler.java +++ b/src/main/java/com/aizistral/enigmaticlegacy/handlers/EnigmaticEventHandler.java @@ -2002,7 +2002,7 @@ public void onEntityHurt(LivingHurtEvent event) { for (var type : advancedCurio.resistanceList.keySet()) { if (event.getSource().is(type)) { - event.setAmount(event.getAmount() * advancedCurio.resistanceList.get(event.getSource().typeHolder().unwrapKey()).get()); + event.setAmount(event.getAmount() * advancedCurio.resistanceList.get(event.getSource().typeHolder().unwrapKey().get()).get()); break; } }