Skip to content

SpellMod error after changes to getCost() #65

Description

@ago1024

Modifying spell costs broken since server 1.9.0

Caused by: java.lang.NoSuchMethodError: com.wurmonline.server.spells.Spell.getCost(Z)I
        at org.gotti.wurmunlimited.mods.spellmod.SpellMod.onServerStarted(SpellMod.java:103)
        at org.gotti.wurmunlimited.modloader.server.ServerHook.lambda$fireOnServerStarted$2(ServerHook.java:81)
        at org.gotti.wurmunlimited.modloader.server.Listeners.lambda$fire$0(Listeners.java:63)
        at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
        at org.gotti.wurmunlimited.modloader.server.Listeners.fire(Listeners.java:61)

The Spell.getCost(boolean forItem) method has been split up into many methods for creatures, items, terrain...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions