From 085a3705f0290237321c9c6057150a517a8fe5ea Mon Sep 17 00:00:00 2001 From: Gingerbeard <68350259+Gingerbeard5773@users.noreply.github.com> Date: Sat, 14 Nov 2026 00:16:59 -0500 Subject: [PATCH] Fix getPlaceSide --- .../meteorclient/utils/world/BlockUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/meteordevelopment/meteorclient/utils/world/BlockUtils.java b/src/main/java/meteordevelopment/meteorclient/utils/world/BlockUtils.java index 44b6d3444d..1cae45c49b 100644 --- a/src/main/java/meteordevelopment/meteorclient/utils/world/BlockUtils.java +++ b/src/main/java/meteordevelopment/meteorclient/utils/world/BlockUtils.java @@ -175,8 +175,8 @@ public static Direction getPlaceSide(BlockPos blockPos) { BlockPos neighbor = blockPos.relative(side); BlockState state = mc.level.getBlockState(neighbor); - // Check if neighbour isn't empty - if (state.isAir() || isClickable(state.getBlock())) continue; + // Check if neighbour isn't replaceable + if (state.canBeReplaced() || isClickable(state.getBlock())) continue; // Check if neighbour is a fluid if (!state.getFluidState().isEmpty()) continue;