From 7625f9eb93e8614097c33854924c93801a9952e4 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 5 Feb 2019 11:09:48 +0200 Subject: [PATCH] Fixed apple trees not producing very many apples --- .../com/minelittlepony/unicopia/block/BlockFruitLeaves.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/block/BlockFruitLeaves.java b/src/main/java/com/minelittlepony/unicopia/block/BlockFruitLeaves.java index 2d1bb890..d97c83f9 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/BlockFruitLeaves.java +++ b/src/main/java/com/minelittlepony/unicopia/block/BlockFruitLeaves.java @@ -144,7 +144,7 @@ public class BlockFruitLeaves extends BlockLeaves implements IColourful { @Override public void updateTick(World world, BlockPos pos, IBlockState state, Random rand) { if (!world.isRemote && world.isAreaLoaded(pos, 1)) { - if (state.getValue(CHECK_DECAY) && state.getValue(DECAYABLE)) { + if (state.getValue(DECAYABLE)) { int growthChance = getGrowthChance(world, pos, state); if (!state.getValue(HEAVY) && (growthChance <= 0 || rand.nextInt(growthChance) == 0)) {