Uncommented canBlockStay
This commit is contained in:
parent
043e749df4
commit
65ff312ae0
2 changed files with 4 additions and 4 deletions
|
@ -177,7 +177,7 @@ public class BlockBOPFlower extends BlockFlower
|
|||
return this.canPlaceBlockOnSide(world, x, y, z, side);
|
||||
}
|
||||
|
||||
/*@Override
|
||||
@Override
|
||||
public boolean canBlockStay(World world, int x, int y, int z)
|
||||
{
|
||||
if (world.getBlockId(x, y, z) != this.blockID)
|
||||
|
@ -186,7 +186,7 @@ public class BlockBOPFlower extends BlockFlower
|
|||
else
|
||||
return (world.getFullBlockLightValue(x, y, z) >= 8 || world.canBlockSeeTheSky(x, y, z))
|
||||
&& this.canThisPlantGrowOnThisBlockID(world.getBlockId(x, y - 1, z), world.getBlockMetadata(x, y, z));
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta)
|
||||
|
|
|
@ -162,7 +162,7 @@ public class BlockBOPPlant extends BlockFlower implements IShearable
|
|||
return this.canPlaceBlockOnSide(world, x, y, z, side);
|
||||
}
|
||||
|
||||
/*@Override
|
||||
@Override
|
||||
public boolean canBlockStay(World world, int x, int y, int z)
|
||||
{
|
||||
if (world.getBlockId(x, y, z) != this.blockID)
|
||||
|
@ -171,7 +171,7 @@ public class BlockBOPPlant extends BlockFlower implements IShearable
|
|||
else
|
||||
return (world.getFullBlockLightValue(x, y, z) >= 8 || world.canBlockSeeTheSky(x, y, z))
|
||||
&& this.canThisPlantGrowOnThisBlockID(world.getBlockId(x, y - 1, z), world.getBlockMetadata(x, y, z));
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborBlockChange(World world, int x, int y, int z, int neighborID)
|
||||
|
|
Loading…
Reference in a new issue