Quantcast

Hopefully final round of fixes for BFA

Alar of Runetotem [08-31-18 - 15:52]
Hopefully final round of fixes for BFA
Filename
GarrisonCommander-Broker/RelNotes.lua
GarrisonCommander-Broker/ldb.lua
RelNotes.lua
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
 ]])