diff --git a/osr/basescript.simba b/osr/basescript.simba index f13b698b..3caa74d4 100644 --- a/osr/basescript.simba +++ b/osr/basescript.simba @@ -668,14 +668,13 @@ begin for attempt := 1 to attempts do begin stack := Inventory.CountItemStack(invItem); - if Inventory.IsFull() and (stack < 1) then //item not stackable. - Exit; + if Inventory.IsFull() and (stack < 1) then Exit; //item not stackable. count := Inventory.CountItem(invItem); if Bank.FindItem(item, b) then begin - if Max(1,Bank.CountItemStack(item.Item)) < item.Quantity then + if Max(1, Bank.CountItemStack(item.Item)) < Min(item.Quantity, 28) then begin Self.BankEmpty := Bank.IsOpen(); if Self.BankEmpty then