Quantcast

Fixed seed bag count not updating on use

Darthpred [03-06-13 - 09:34]
Fixed seed bag count not updating on use
Filename
ElvUI_SLE/modules/farm/farm.lua
diff --git a/ElvUI_SLE/modules/farm/farm.lua b/ElvUI_SLE/modules/farm/farm.lua
index 1d8a1ca..428ae28 100644
--- a/ElvUI_SLE/modules/farm/farm.lua
+++ b/ElvUI_SLE/modules/farm/farm.lua
@@ -283,10 +283,15 @@ function F:UpdateBar(bar, layoutfunc, zonecheck, anchor, buttons, category)
 	end
 end

+function F:BAG_UPDATE_COOLDOWN()
+	F:InventoryUpdate()
+	F:UpdateCooldown()
+end
+
 function F:Zone()
 	if F:CanSeed() then
 		F:RegisterEvent("BAG_UPDATE", "InventoryUpdate")
-		F:RegisterEvent("BAG_UPDATE_COOLDOWN", "UpdateCooldown")
+		F:RegisterEvent("BAG_UPDATE_COOLDOWN")

 		F:InventoryUpdate()
 	else