From b9e6b1f4aba054bf57a5069491bc2a33e98e2846 Mon Sep 17 00:00:00 2001 From: Horyoshi <42314202+Cinecom@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:32:37 +0100 Subject: [PATCH] Fixed a bug --- shootyepgp.lua | 16 ++++++++-------- shootyepgp.toc | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/shootyepgp.lua b/shootyepgp.lua index 7ca1021..76a0730 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -1196,8 +1196,8 @@ function sepgp:addonComms(prefix,message,channel,sender) end -- Handle bid start broadcast from master looter elseif who == "BIDSTART" then - -- Only officers/supreme leaders who are NOT the ML/RL should process this - if not (IsRaidLeader() or self:lootMaster()) and self:canReceiveBidBroadcast() then + -- Only officers/supreme leaders who are NOT the ML should process this + if not self:lootMaster() and self:canReceiveBidBroadcast() then -- Parse: BIDSTART;itemID;1 local itemID = what if not itemID or itemID == "" then return end @@ -1225,8 +1225,8 @@ function sepgp:addonComms(prefix,message,channel,sender) end -- Handle bid data broadcast from master looter elseif who == "BIDS" then - -- Only officers/supreme leaders who are NOT the ML/RL should process this - if not (IsRaidLeader() or self:lootMaster()) and self:canReceiveBidBroadcast() then + -- Only officers/supreme leaders who are NOT the ML should process this + if not self:lootMaster() and self:canReceiveBidBroadcast() then if not running_bid then return end -- Parse comma-separated bid entries for bidData in string.gfind(what, "([^,]+)") do @@ -1264,14 +1264,14 @@ function sepgp:addonComms(prefix,message,channel,sender) end -- Handle bid clear broadcast from master looter elseif who == "BIDCLEAR" then - -- Only officers/supreme leaders who are NOT the ML/RL should process this - if not (IsRaidLeader() or self:lootMaster()) and self:canReceiveBidBroadcast() then + -- Only officers/supreme leaders who are NOT the ML should process this + if not self:lootMaster() and self:canReceiveBidBroadcast() then self:clearBids() end -- Handle attention signal from master looter elseif who == "BIDATTENTION" then - -- Only officers/supreme leaders who are NOT the ML/RL should process this - if not (IsRaidLeader() or self:lootMaster()) and self:canReceiveBidBroadcast() then + -- Only officers/supreme leaders who are NOT the ML should process this + if not self:lootMaster() and self:canReceiveBidBroadcast() then self:playAttentionSound() self:defaultPrint(C:Yellow(L["Attention! Master Looter wants you to check the bid window."])) end diff --git a/shootyepgp.toc b/shootyepgp.toc index acab0fd..4d07288 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -7,7 +7,7 @@ ## X-Website: https://github.com/cinecom/shootyepgp/ ## X-Category: Guild ## X-Credits: shooty, Qcat(zhCN) -## Version: 10.18.0 +## Version: 10.18.1 ## X-Alpha: ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel, sepgp_groupbyclass, sepgp_groupbyarmor, sepgp_groupbyrole, sepgp_raidonly, sepgp_dbver, sepgp_debug, sepgp_fubar, sepgp_sound