From ac2c6b47045b0894054c834a2f4004522689b9d4 Mon Sep 17 00:00:00 2001 From: Dane Date: Mon, 7 Apr 2014 12:59:41 -0400 Subject: [PATCH] Fix herblore potion using invalid skill id. --- data/plugins/skill-herblore/potion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/skill-herblore/potion.rb b/data/plugins/skill-herblore/potion.rb index 114ff1ee..ac368b32 100644 --- a/data/plugins/skill-herblore/potion.rb +++ b/data/plugins/skill-herblore/potion.rb @@ -273,7 +273,7 @@ class FinishedMixingAction < MixingAction name = @potion.item.definition.name.sub('(3)', '') player.send_message("You add the #{ingredient} to the mixture to make an #{name}.", true) - player.skill_set.add_experience(HERBLORE_ID, @potion.experience) + player.skill_set.add_experience(HERBLORE_SKILL_ID, @potion.experience) inventory = player.inventory