mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 14:00:48 +00:00
tbc: skip containerslot numbers for keyring
This commit is contained in:
@@ -42,3 +42,12 @@ end
|
|||||||
|
|
||||||
-- blacklist unrequired modules
|
-- blacklist unrequired modules
|
||||||
pfUI.module.autoshift = true
|
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