1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-19 05:34:40 +00:00

that was a big screwup

This commit is contained in:
Leijurv 2018-12-19 17:02:09 -08:00
parent 77938a77e8
commit 57f238de7d
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -255,7 +255,7 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
// remove any that are within loaded chunks that aren't actually what we want
.filter(pos -> !ctx.bsi().isLoaded(pos.getX(), pos.getZ()) || mining.contains(ctx.getBlock(pos.getX(), pos.getY(), pos.getZ())) || dropped.contains(pos))
.filter(pos -> !ctx.bsi().worldContainsLoadedChunk(pos.getX(), pos.getZ()) || mining.contains(ctx.getBlock(pos.getX(), pos.getY(), pos.getZ())) || dropped.contains(pos))
// remove any that are implausible to mine (encased in bedrock, or touching lava)
.filter(pos -> MineProcess.plausibleToBreak(ctx.bsi(), pos))