fixed turtle defrag

This commit is contained in:
Niklas Kapelle 2024-01-28 15:46:37 +01:00
parent 6170fdd0d3
commit c9e0ceef32
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -165,7 +165,9 @@ class InvManager {
botState.count -= transferCount;
invState.set(slot, botState);
if (count - transferCount <= 0) {
count -= transferCount;
if (count <= 0) {
break;
}
}