mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
bags: use static return for bank slots
This commit is contained in:
+2
-1
@@ -184,7 +184,8 @@ end
|
||||
-- returns: [string] the type of the bag, e.g "QUIVER"
|
||||
function pfUI.api.GetBagFamily(bag)
|
||||
if bag == -2 then return "KEYRING" end
|
||||
if bag == 0 then return "BAG" end
|
||||
if bag == 0 then return "BAG" end -- backpack
|
||||
if bag == -1 then return "BAG" end -- bank
|
||||
|
||||
local _, _, id = strfind(GetInventoryItemLink("player", ContainerIDToInventoryID(bag)) or "", "item:(%d+)")
|
||||
if id then
|
||||
|
||||
Reference in New Issue
Block a user