Error fix
katkat42 [11-23-14 - 19:11]
diff --git a/Provisioning.lua b/Provisioning.lua
index d1979dd..48c4b29 100644
--- a/Provisioning.lua
+++ b/Provisioning.lua
@@ -67,7 +67,7 @@ function SousChef:HookRecipeTreeFunction()
function(...)
local node, control, data, open, userRequested, enabled = ...
SousChef.hookedProvisioningFunction(...)
- local link = GetItemLinkName(GetRecipeResultItemLink(data.recipeListIndex, data.recipeIndex, LINK_STYLE_BRACKETS)))
+ local link = GetItemLinkName(GetRecipeResultItemLink(data.recipeListIndex, data.recipeIndex, LINK_STYLE_BRACKETS))
if link then
SousChef:AddNotifier(control, type(SousChef.settings.shoppingList[link]) == "table" and u.TableKeyConcat(SousChef.settings.shoppingList[link]))
end
@@ -125,7 +125,7 @@ function SousChef:IsOnShoppingList(id)
end
function SousChef:MarkRecipe()
- local link = GetItemLinkName(GetRecipeResultItemLink(PROVISIONER:GetSelectedRecipeListIndex(), PROVISIONER:GetSelectedRecipeIndex(), LINK_STYLE_BRACKETS)))
+ local link = GetItemLinkName(GetRecipeResultItemLink(PROVISIONER:GetSelectedRecipeListIndex(), PROVISIONER:GetSelectedRecipeIndex(), LINK_STYLE_BRACKETS))
if type(SousChef.settings.shoppingList[link]) ~= "table" then SousChef.settings.shoppingList[link] = {} end
diff --git a/SousChef.lua b/SousChef.lua
index e37eb40..9942756 100644
--- a/SousChef.lua
+++ b/SousChef.lua
@@ -135,7 +135,7 @@ local function SousChefCreateSettings()
name = "Sous Chef",
displayName = "Sous Chef",
author = "Wobin & KatKat42 & CrazyDutchGuy",
- version = "2.9",
+ version = "2.10",
registerForRefresh = true,
slashCommand = "/souschef",
}