mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
bags: return zero without any purchased bank slot
This commit is contained in:
+1
-1
@@ -441,7 +441,7 @@ pfUI:RegisterModule("bags", 20400, function ()
|
||||
local position = "RIGHT"
|
||||
|
||||
if frame == pfUI.bag.left then
|
||||
min, max = 1, math.min(6, GetNumBankSlots())
|
||||
min, max = 1, math.min(6, (GetNumBankSlots() or 0))
|
||||
tpl = "BankItemButtonBagTemplate"
|
||||
name, append = "pfUIBankBBag", ""
|
||||
position = "LEFT"
|
||||
|
||||
Reference in New Issue
Block a user