From f0424d66fe9568a650154c716e9be462202eb092 Mon Sep 17 00:00:00 2001 From: Major- Date: Sat, 7 Mar 2015 14:21:00 +0000 Subject: [PATCH] Correct variable name in Fishing skill. --- data/plugins/skill/fishing/fishing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/skill/fishing/fishing.rb b/data/plugins/skill/fishing/fishing.rb index daa47e73..00375bea 100644 --- a/data/plugins/skill/fishing/fishing.rb +++ b/data/plugins/skill/fishing/fishing.rb @@ -13,7 +13,7 @@ class FishingAction < DistancedAction super(4, true, mob, position, 1) @position = position @spot = spot - @tool = spot.tools[action - 1] + @tool = spot.tools[option - 1] @options = (option == 1) ? spot.first_option : spot.second_option @minimum_level = options.map { |fish| fish.level }.min