fixed turtle defrag
This commit is contained in:
parent
6170fdd0d3
commit
c9e0ceef32
@ -165,7 +165,9 @@ class InvManager {
|
||||
botState.count -= transferCount;
|
||||
invState.set(slot, botState);
|
||||
|
||||
if (count - transferCount <= 0) {
|
||||
count -= transferCount;
|
||||
|
||||
if (count <= 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user