Mercurial > wow > inventory
comparison Plugins/CraftingAddons/GnomeWorks.lua @ 226:7cb41031cae7
Fixed a typo.
author | Zerotorescue |
---|---|
date | Mon, 07 Feb 2011 18:46:36 +0100 |
parents | 2e4e52a589e5 |
children |
comparison
equal
deleted
inserted
replaced
225:2e4e52a589e5 | 226:7cb41031cae7 |
---|---|
11 end | 11 end |
12 | 12 |
13 local function Queue(tradeSkillIndex, amount) | 13 local function Queue(tradeSkillIndex, amount) |
14 local link = GetTradeSkillRecipeLink(tradeSkillIndex); | 14 local link = GetTradeSkillRecipeLink(tradeSkillIndex); |
15 local recipeId = tonumber(link:match("enchant:(%d+)")); | 15 local recipeId = tonumber(link:match("enchant:(%d+)")); |
16 . | 16 |
17 return GnomeWorks:AddToQueue(GnomeWorks.player, GnomeWorks.tradeID, recipeId, amount); | 17 return GnomeWorks:AddToQueue(GnomeWorks.player, GnomeWorks.tradeID, recipeId, amount); |
18 end | 18 end |
19 | 19 |
20 local function IsEnabled() | 20 local function IsEnabled() |
21 return (GnomeWorks and GnomeWorks.AddToQueue); | 21 return (GnomeWorks and GnomeWorks.AddToQueue); |