From 6bf75684810e63dedae704ecf812adfa6a75968e Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 26 Sep 2018 00:13:02 +0200 Subject: [PATCH] Fixed alfalfa popping off when loading a world --- .../java/com/minelittlepony/unicopia/block/BlockAlfalfa.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/minelittlepony/unicopia/block/BlockAlfalfa.java b/src/main/java/com/minelittlepony/unicopia/block/BlockAlfalfa.java index b4051754..f59dddf5 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/BlockAlfalfa.java +++ b/src/main/java/com/minelittlepony/unicopia/block/BlockAlfalfa.java @@ -93,6 +93,11 @@ public class BlockAlfalfa extends BlockCrops { } } + @Override + protected boolean canSustainBush(IBlockState state) { + return super.canSustainBush(state) || state.getBlock() == this; + } + protected void growUpwards(World world, BlockPos pos, IBlockState state, int increase) { boolean hasDown = world.getBlockState(pos.down()).getBlock() == this; boolean hasTrunk = world.getBlockState(pos.down(2)).getBlock() == this;