emptyInventory doesn't remove attempted chests from search criteria
SeanMcCord opened this issue · comments
This array is never mutated and therefore each call to getClosestChest returns the same chest.
The array is edited within the getClosestChest()
function.
mineflayer-collectblock/src/Inventory.ts
Line 25 in aaa034d