mirror of https://github.com/cabaletta/baritone
fix world border checks
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
This commit is contained in:
parent
74ea803651
commit
49357790f1
|
@ -50,7 +50,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||
|
||||
static boolean avoidBreaking(BlockStateInterface bsi, int x, int y, int z, IBlockState state) {
|
||||
if (!bsi.worldBorder.canPlaceAt(x, y)) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
Block b = state.getBlock();
|
||||
return Baritone.settings().blocksToDisallowBreaking.value.contains(b)
|
||||
|
|
Loading…
Reference in New Issue