Removed uneccessary code, tried to fix bonemeal on magic trees

This commit is contained in:
Adubbz 2013-04-04 10:29:38 +11:00
parent 69ea02b2ac
commit 13c2a58426
2 changed files with 2 additions and 6 deletions

View file

@ -125,12 +125,8 @@ public class BlockHolyGrass extends Block
if (par1World.provider.isHellWorld) if (par1World.provider.isHellWorld)
{ {
par1World.setBlock(par2, par3 + 1, par4, Block.fire.blockID); 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); par1World.setBlock(par2, par3, par4, Block.slowSand.blockID);
} }
}
if (!par1World.isRemote) if (!par1World.isRemote)
{ {

View file

@ -208,7 +208,7 @@ public class BonemealUse
{ {
if ((double)event.world.rand.nextFloat() < 0.45D) 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);
} }
} }
} }