Merge pull request #3 from Fretuks/fix-mod-crash-without-irons-spellbooks
Guard Irons Spellbooks tempo regen access
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user