From 2667455452614d47021001187ccedb75ff7caffd Mon Sep 17 00:00:00 2001 From: Adubbz Date: Tue, 2 Apr 2013 21:23:38 +1100 Subject: [PATCH] Fixed derp in bonemeal helper --- src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java b/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java index 307247852..d3612d0f2 100644 --- a/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java +++ b/src/minecraft/tdwp_ftw/biomesop/helpers/BonemealUse.java @@ -32,10 +32,11 @@ public class BonemealUse @ForgeSubscribe public void onUseBonemeal(BonemealEvent event) { - event.setResult(Result.ALLOW); if (event.ID == mod_BiomesOPlenty.firSapling.blockID) { + event.setResult(Result.ALLOW); + if (!event.world.isRemote) { if ((double)event.world.rand.nextFloat() < 0.45D)