Bug Fixes
This commit is contained in:
@@ -3846,6 +3846,10 @@ AtlasLoot_updater:RegisterEvent("CHAT_MSG_ADDON")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL")
|
||||
AtlasLoot_updater:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
|
||||
AtlasLoot_updater:RegisterEvent("CHAT_MSG_CHANNEL_JOIN")
|
||||
|
||||
AtlasLootUserCounter = {}
|
||||
PlayerCounter = {}
|
||||
|
||||
AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
if event == "CHAT_MSG_ADDON" and arg1 == "AtlasLoot" then
|
||||
@@ -3864,6 +3868,13 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL_JOIN" then
|
||||
local name = arg2
|
||||
if not PlayerCounter[name] then
|
||||
PlayerCounter[name] = 1
|
||||
end
|
||||
end
|
||||
|
||||
if event == "CHAT_MSG_CHANNEL" then
|
||||
local _,_,source = string.find(arg4,"(%d+)%.")
|
||||
if source then
|
||||
@@ -3885,6 +3896,10 @@ AtlasLoot_updater:SetScript("OnEvent", function()
|
||||
end
|
||||
end
|
||||
end
|
||||
local name = arg2
|
||||
if not AtlasLootUserCounter[name] then
|
||||
AtlasLootUserCounter[name] = 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user