diff --git a/src/main/java/net/fretux/mindmotion/client/effects/IronsSpellbooksCompatMM.java b/src/main/java/net/fretux/mindmotion/client/effects/IronsSpellbooksCompatMM.java index 6d21ab5..89ead75 100644 --- a/src/main/java/net/fretux/mindmotion/client/effects/IronsSpellbooksCompatMM.java +++ b/src/main/java/net/fretux/mindmotion/client/effects/IronsSpellbooksCompatMM.java @@ -60,6 +60,8 @@ public final class IronsSpellbooksCompatMM { } public static void applyTempoToManaRegen(Player player, int tempo) { + if (!isLoaded()) return; + resolveOnce(); if (!available) return; Attribute manaRegenAttr = getManaRegenAttribute(); if (manaRegenAttr == null) return; @@ -85,4 +87,4 @@ public final class IronsSpellbooksCompatMM { return null; } } -} \ No newline at end of file +}