remove query server button

This commit is contained in:
Spit
2026-06-21 14:23:13 +03:00
parent b17651ebbd
commit 37d86fc689
8 changed files with 11 additions and 86 deletions
-17
View File
@@ -3243,23 +3243,6 @@ function AtlasLoot_ContainerItem_OnClick(arg1)
end
end
--[[
AtlasLoot_QueryLootPage()
Querys all valid items on the current loot page.
]]
function AtlasLoot_QueryLootPage()
for i = 1, 30 do
local button = _G["AtlasLootItem_"..i];
local queryitem = button.itemID;
if ( (queryitem) and (queryitem ~= "") and (queryitem ~= 0) and
(string.sub(queryitem, 1, 1) ~= "s") and (string.sub(queryitem, 1, 1) ~= "e") ) then
if ( not GetItemInfo(queryitem) ) then
AtlasLootCacheTooltip:SetHyperlink("item:"..queryitem..":0:0:0");
end
end
end
end
local function idFromLink(itemlink)
if ( itemlink ) then
local _,_,id = string.find(itemlink, "|Hitem:([^:]+)%:")