mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
tbc: skip containerslot numbers for keyring
This commit is contained in:
@@ -42,3 +42,12 @@ end
|
||||
|
||||
-- blacklist unrequired modules
|
||||
pfUI.module.autoshift = true
|
||||
|
||||
-- keyring returns
|
||||
function pfUI.api.GetContainerNumSlots(bag)
|
||||
if bag == -2 and pfUI.bag and not pfUI.bag.showKeyring then
|
||||
return 0
|
||||
else
|
||||
return _G.GetContainerNumSlots(bag)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user