From d64531b38fd27c824e0749e21f7c90b6cd6393dd Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Fri, 31 Aug 2018 17:52:50 +0200 Subject: [PATCH] Hopefully final round of fixes for BFA --- GarrisonCommander-Broker/RelNotes.lua | 3 +++ GarrisonCommander-Broker/ldb.lua | 4 +++- RelNotes.lua | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/GarrisonCommander-Broker/RelNotes.lua b/GarrisonCommander-Broker/RelNotes.lua index 34236de..147bb5d 100644 --- a/GarrisonCommander-Broker/RelNotes.lua +++ b/GarrisonCommander-Broker/RelNotes.lua @@ -7,6 +7,9 @@ self:HF_Paragraph("Description") self:HF_Pre([[ Data broker for Garrison stuff. ]]) +self:RelNotes(3,0,0,[[ +Fix: Harvesting detection works again, thanks to twitchdefresaemoved lua error GetAbsoluteMonth +]]) self:RelNotes(2,18,8,[[ Fix: Removed lua error GetAbsoluteMonth ]]) diff --git a/GarrisonCommander-Broker/ldb.lua b/GarrisonCommander-Broker/ldb.lua index ed6efe7..88357d4 100644 --- a/GarrisonCommander-Broker/ldb.lua +++ b/GarrisonCommander-Broker/ldb.lua @@ -102,6 +102,8 @@ local spellids={ [158745]='mine', [170599]='mine', [170691]='herb', + [195122]='herb', + [195114]='mine', } local buildids={ mine={61,62,63}, @@ -174,7 +176,7 @@ function addon:QUEST_TURNED_IN(event,quest,item,gold) end end -function addon:UNIT_SPELLCAST_START(event,unit,name,rank,lineID,spellID) +function addon:UNIT_SPELLCAST_START(event,unit,lineID,spellID) if (unit=='player') then if spellids[spellID] then name=names[spellids[spellID]] diff --git a/RelNotes.lua b/RelNotes.lua index 75bf6b4..c4a7add 100644 --- a/RelNotes.lua +++ b/RelNotes.lua @@ -22,6 +22,10 @@ self:Wiki([[ == Silent mode == typing /gac silent in chat will eliminate every chat message from GarrisonCommander ]]) +self:RelNotes(3,0,0,[[ +Feature: Updated broker +]]) + self:RelNotes(2,19,0,[[ Feature: Addon can no longer log out the game. No workaround found, so Autologout and logout were removed ]]) -- 1.7.9.5