From 880a5c9d490ac280cad27e65dbd6df4cb2c1c6a9 Mon Sep 17 00:00:00 2001 From: Fretux Date: Thu, 22 Jan 2026 09:13:00 +0100 Subject: [PATCH] Guard Irons Spellbooks tempo regen access --- .../mindmotion/client/effects/IronsSpellbooksCompatMM.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +}