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