From 9bc92fb0903c195ee75d8a2665330b73542054de Mon Sep 17 00:00:00 2001 From: Torwent Date: Thu, 26 Sep 2024 13:16:35 +0200 Subject: [PATCH] Update basescript.simba --- osr/basescript.simba | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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