diff --git a/osrs/interfaces/handlers/inventory_layout.simba b/osrs/interfaces/handlers/inventory_layout.simba index f51db0d3..56cf6a71 100644 --- a/osrs/interfaces/handlers/inventory_layout.simba +++ b/osrs/interfaces/handlers/inventory_layout.simba @@ -176,7 +176,7 @@ begin for j := 0 to High(items) do for n := 0 to High(bitems) do begin - if items[j] <> bitems[n].Item then Continue; + if not SameText(items[j], bitems[n].Item) then Continue; stack := Inventory.Slots.ReadStack(i); @@ -201,13 +201,6 @@ begin Exit; end; - for i := 0 to High(bitems) do - begin - if bitems[i].Quantity <= 0 then Continue; - if not Bank.Deposit(bitems[i], True) then - Exit; - end; - Result := True; end;