mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +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"
|
local position = "RIGHT"
|
||||||
|
|
||||||
if frame == pfUI.bag.left then
|
if frame == pfUI.bag.left then
|
||||||
min, max = 1, math.min(6, GetNumBankSlots())
|
min, max = 1, math.min(6, (GetNumBankSlots() or 0))
|
||||||
tpl = "BankItemButtonBagTemplate"
|
tpl = "BankItemButtonBagTemplate"
|
||||||
name, append = "pfUIBankBBag", ""
|
name, append = "pfUIBankBBag", ""
|
||||||
position = "LEFT"
|
position = "LEFT"
|
||||||
|
|||||||
Reference in New Issue
Block a user