Removed uneccessary code, tried to fix bonemeal on magic trees
This commit is contained in:
parent
69ea02b2ac
commit
13c2a58426
|
@ -125,12 +125,8 @@ public class BlockHolyGrass extends Block
|
|||
if (par1World.provider.isHellWorld)
|
||||
{
|
||||
par1World.setBlock(par2, par3 + 1, par4, Block.fire.blockID);
|
||||
|
||||
if (this.isFireSource(par1World, par2, par3, par4, this.blockID, UP))
|
||||
{
|
||||
par1World.setBlock(par2, par3, par4, Block.slowSand.blockID);
|
||||
}
|
||||
}
|
||||
|
||||
if (!par1World.isRemote)
|
||||
{
|
||||
|
|
|
@ -208,7 +208,7 @@ public class BonemealUse
|
|||
{
|
||||
if ((double)event.world.rand.nextFloat() < 0.45D)
|
||||
{
|
||||
((BlockMagicSapling)mod_BiomesOPlenty.magicSapling).func_96477_c(event.world, event.X, event.Y, event.Z, event.world.rand);
|
||||
((BlockMagicSapling)mod_BiomesOPlenty.magicSapling).growTree(event.world, event.X, event.Y, event.Z, event.world.rand);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue