@CuddlesHe, ive been tyring to get the bounty mod working but i keep stonewalling when i kill a creature. i keep getting this error:
[10:03:01 PM] SEVERE com.friya.wurmonline.server.loot.Mod: some mod's onBeforeDrop() caused an exception, this is caught and thrown away to not prevent things from dying
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:592)
at java.lang.Integer.parseInt(Integer.java:615)
at net.coldie.wurmunlimited.mods.bountycoldiestyle.bountymod.isgroup1(bountymod.java:109)
at net.coldie.wurmunlimited.mods.bountycoldiestyle.currencyadding.onBeforeDrop(currencyadding.java:45)
at com.friya.wurmonline.server.loot.LootSystem.notifyLootListeners(LootSystem.java:133)
at com.friya.wurmonline.server.loot.Mod.interceptDie(Mod.java:401)
at com.friya.wurmonline.server.loot.Mod.access$0(Mod.java:385)
at com.friya.wurmonline.server.loot.Mod$1$1.invoke(Mod.java:370)
at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:384)
at com.wurmonline.server.creatures.Creature.die(Creature.java)
at com.wurmonline.server.creatures.CreatureStatus.modifyWounds(CreatureStatus.java:993)
at com.wurmonline.server.bodys.Wound.modifySeverity(Wound.java:963)
at com.wurmonline.server.combat.CombatEngine.addWound(CombatEngine.java:1574)
at com.wurmonline.server.creatures.CombatHandler.setDamage(CombatHandler.java:2575)
at com.wurmonline.server.creatures.CombatHandler.attack(CombatHandler.java:2034)
at com.wurmonline.server.creatures.CombatHandler.attack(CombatHandler.java:1418)
at com.wurmonline.server.behaviours.CreatureBehaviour.action(CreatureBehaviour.java:1226)
at com.wurmonline.server.behaviours.Action.poll(Action.java:3526)
at com.wurmonline.server.behaviours.ActionStack.poll(ActionStack.java:247)
at com.wurmonline.server.players.Player.pollActions(Player.java:9793)
at com.wurmonline.server.Players.pollPlayers$1(Players.java:4641)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gotti.wurmunlimited.modloader.server.ProxyServerHook$6$1.invoke(ProxyServerHook.java:181)
at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:384)
at com.wurmonline.server.Players.pollPlayers(Players.java)
at com.wurmonline.server.Server.run(Server.java:1916)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
I was wondering if you could help me understand what is going on here.
Cheers :)