From 9d48e96c54979a5476256e0c47c9205736f771e2 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 5 Sep 2016 22:01:09 +0300 Subject: [PATCH] Change how player being in order hall is checked --- ElvUI_SLE/modules/orderhall.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/orderhall.lua b/ElvUI_SLE/modules/orderhall.lua index e1af262..3740841 100644 --- a/ElvUI_SLE/modules/orderhall.lua +++ b/ElvUI_SLE/modules/orderhall.lua @@ -5,7 +5,7 @@ local C_Garrison = C_Garrison function OH:SHIPMENT_CRAFTER_INFO(event, success, _, maxShipments, plotID) if not _G["GarrisonCapacitiveDisplayFrame"] then return end --Just in case - if T.GetRealZoneText() ~= _G["ORDER_HALL_"..E.myclass] then return end + if not C_Garrison.IsPlayerInGarrison(3) then return end local n = _G["GarrisonCapacitiveDisplayFrame"].available or 0 if OH.clicked or n == 0 or not OH.db.autoOrder.enable then return end OH.clicked = true -- 1.7.9.5