Skip to content

Commit

Permalink
Fix wrong farmland culling shape in <= 1.9.3
Browse files Browse the repository at this point in the history
Closes #631
  • Loading branch information
FlorianMichael committed Nov 25, 2024
1 parent 9e7260a commit fd8fcaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void changeOutlineShape(BlockState state, BlockView world, BlockPos pos,

@Override
public VoxelShape getCullingShape(BlockState state) {
if (ProtocolTranslator.getTargetVersion().newerThan(ProtocolVersion.v1_9_3)) {
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_9_3)) {
return SHAPE;
} else {
return super.getCullingShape(state);
Expand Down

0 comments on commit fd8fcaf

Please sign in to comment.