Quantcast

Fixed create button enable/disable for runeforging.

pschifferer [04-09-10 - 04:42]
Fixed create button enable/disable for runeforging.
Filename
CauldronMainUI.lua
CauldronTradeskill.lua
Instructions.txt
diff --git a/CauldronMainUI.lua b/CauldronMainUI.lua
index 07abd0c..65bd60c 100644
--- a/CauldronMainUI.lua
+++ b/CauldronMainUI.lua
@@ -481,7 +481,7 @@ function Cauldron:UpdateButtons()

 		CauldronCreateButton:Show();

-		if skillInfo.available > 0 then
+		if skillInfo.available != 0 then
 			CauldronCreateAllButton:Enable();
 			CauldronCreateButton:Enable();
 		else
diff --git a/CauldronTradeskill.lua b/CauldronTradeskill.lua
index 4d1fdf3..6aca034 100644
--- a/CauldronTradeskill.lua
+++ b/CauldronTradeskill.lua
@@ -689,10 +689,11 @@ function Cauldron:GetRequiredItems(skillInfo, amount)

 	-- sanity checks
 	if not skillInfo then
-		-- TODO: display error
+		Cauldron:error("GetRequiredItems: no skillInfo provided!");
 		return intermediates, reagents;
 	end

+	-- get a proper amount value
 	amount = math.max(1, tonumber(amount) or 1);

 	-- find out what the reagents are
diff --git a/Instructions.txt b/Instructions.txt
index a0d5bf0..11460bc 100644
--- a/Instructions.txt
+++ b/Instructions.txt
@@ -9,6 +9,10 @@ An enhanced tradeskill addon.  Cauldron provides:

 == Release Notes ==

+=== r??? ===
+
+* German localization!
+
 === r206 ===

 * Simplified Chinese localization!