From af9604fa8220b39bc4a7b6879fa9dc39cb400200 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 6 Mar 2013 13:34:26 +0400 Subject: [PATCH] Fixed seed bag count not updating on use --- ElvUI_SLE/modules/farm/farm.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 1.7.9.5