Fixed derp in bonemeal helper

This commit is contained in:
Adubbz 2013-04-02 21:23:38 +11:00
parent d437a88558
commit 2667455452
1 changed files with 2 additions and 1 deletions

View File

@ -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)