From a4893c788ca7163cd05bc3a4a8c6584e107e633a Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 6 Apr 2013 22:10:16 +1100 Subject: [PATCH] Fixed bonemeal on Origin Saplings --- src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java b/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java index cec554c1b..86cb781bd 100644 --- a/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java +++ b/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java @@ -153,12 +153,11 @@ public class BonemealUse if (event.ID == BOPBlocks.originSapling.blockID) { + event.setResult(Result.ALLOW); + if (!event.world.isRemote) { - if ((double)event.world.rand.nextFloat() < 0.45D) - { - ((BlockOriginSapling)BOPBlocks.originSapling).growTree(event.world, event.X, event.Y, event.Z, event.world.rand); - } + ((BlockOriginSapling)BOPBlocks.originSapling).growTree(event.world, event.X, event.Y, event.Z, event.world.rand); } }