mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +00:00
loot: only call LootSlot in vanilla clients
This part heavily relies on loot slot limitations in vanilla that only allow to autoloot when an item was already clicked. Without those limitations present in TBC, it had the side-effect, that everything was auto-looted even without confirmation.
This commit is contained in:
+1
-1
@@ -714,7 +714,7 @@ pfUI:RegisterModule("loot", "vanilla:tbc", function ()
|
||||
if event == "LOOT_BIND_CONFIRM" then
|
||||
LootSlot(arg1)
|
||||
StaticPopup1Button1:Click()
|
||||
elseif event == "LOOT_OPENED" then
|
||||
elseif event == "LOOT_OPENED" and pfUI.client <= 11200 then
|
||||
for i=1,GetNumLootItems() do
|
||||
LootSlot(i)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user