From c8dd4f26f7496499ffbd94c7ccf01e50eb1a227d Mon Sep 17 00:00:00 2001 From: Argentoz <35398135+Argentoz@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:02:54 +0300 Subject: [PATCH] Fix :) WTF --- src/main/java/baritone/pathing/movement/MovementHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/movement/MovementHelper.java b/src/main/java/baritone/pathing/movement/MovementHelper.java index e3fc6a03..44cd1f6a 100644 --- a/src/main/java/baritone/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/pathing/movement/MovementHelper.java @@ -51,7 +51,7 @@ import static baritone.pathing.precompute.Ternary.*; 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)) { + if (!bsi.worldBorder.canPlaceAt(x, z)) { return true; } Block b = state.getBlock();