Spell Fix 1.1.0 (Fabric 1.21.1)
Curse Maven Snippet
What's new
Spell Fix 1.1.0
Adds a second fix, this time for a crash that takes down the server rather than the client.
New: custom spell delivery
Spell Engine widened the caster parameter of SpellHandlers.CustomDelivery#onSpellDelivery from
PlayerEntity to LivingEntity. Mods built before that implement only the old form, so casting
one of their spells throws AbstractMethodError inside the server tick loop. In single player
that drops you out of the world; on a dedicated server it stops the server outright.
Several of these delivery handlers are lambdas, which have no class file to patch, so this one is fixed by guarding Spell Engine's own call site instead. The legacy handler is invoked reflectively so the spell still behaves as its author intended, and only when that is impossible does Spell Engine fall back to its default delivery.
Known affected: Soulwarden (which bundles the Druids spells), Archers Expansion, Spellblade Next, Basic Skill Sets, Brimstone Battlemages.
Important: no longer client-only
The delivery fix runs on the server, so from this release Spell Fix should be installed on both sides. The 1.0.0 effect-renderer fixes are unchanged and remain client-side.
Still included from 1.0.0
- Berserker -
RageRenderer - Forcemaster -
ArcaneOverDriveRenderer - Oathsworn Paladins -
SmiteRenderer,MarkRenderer,DivineInterventionRenderer - Witcher -
QuenActiveShieldRenderer
Still requires no dependency on Spell Engine or on any of the mods above.
This mod has no additional files

