This is my code:
if(getInventory().isFull()) {
//If logs exist in inventory, drop them
log("Dropping logs");
getInventory().dropAll("Logs", "Oak logs", "Willow logs");
Sleep.sleepUntil(() -> !getInventory().isEmpty(), 30000,1000);
}
The issue stopped happening today, not sure why since I haven't changed my code at all. I suspect if anything it was my camera zoom? It wasn't set to default before but idk if that causes issues or not.
But since you're all here, is this Conditional Sleep implementation correct for waiting till all logs are dropped? I'm using Explv's lambda class