commit
ba1c173093
|
@ -153,14 +153,13 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (event.ID == BOPBlocks.pinkSapling.blockID)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue