Open lare96 opened 8 years ago
Throws an error:
SEVERE: Uncaught exception thrown while handling message: org.apollo.game.message.impl.ItemOnItemMessage@39dcdd9e
org.jruby.exceptions.RaiseException: (ArgumentError) wrong number of arguments for constructor
at RUBY.initialize(/home/nelson/Desktop/Directories/projects/applications/java/runescape/apollo-master/game/./data/plugins/skill/firemaking/firemake.rb:53)
at RUBY.fm_action(/home/nelson/Desktop/Directories/projects/applications/java/runescape/apollo-master/game/./data/plugins/skill/firemaking/firemake.rb:31)
at RUBY.block in (root)(/home/nelson/Desktop/Directories/projects/applications/java/runescape/apollo-master/game/./data/plugins/skill/firemaking/firemake.rb:43)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:318)
at RUBY.handle(/home/nelson/Desktop/Directories/projects/applications/java/runescape/apollo-master/game/./data/plugins/bootstrap.rb:91)
To fix go to line 31 in firemake.rb and change to
player.start_action(FiremakingAction.new(player, log))
Don't want to submit a PR for untested/unfinished work so I guess an issue is okay.
I was working on Firemaking awhile back, iirc it's near complete it just needs the ability to light logs from the ground. I don't have the time to finish it off so I'll just leave it here for anyone that's interested
log.rb
firemake.rb
plugin.xml