mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-01-22 21:42:44 +01:00
Fix wrong farmland culling shape in <= 1.9.3
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/631
This commit is contained in:
parent
9e7260a152
commit
fd8fcaf859
@ -56,7 +56,7 @@ public abstract class MixinFarmlandBlock extends Block {
|
||||
|
||||
@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);
|
||||
|
Loading…
Reference in New Issue
Block a user