Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading