Fixed the reeds.
This commit is contained in:
parent
8c044949c3
commit
ebc99f5eb4
2 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ public class BlockBOPPlant extends BlockFlower implements IShearable
|
|||
public boolean isBlockReplaceable(World world, int x, int y, int z)
|
||||
{
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if (meta == 5)
|
||||
if (meta == 5 || meta == 8)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -23,9 +23,9 @@ public class WorldGenReedBOP extends WorldGenerator
|
|||
{
|
||||
int l1 = 2 + par2Random.nextInt(par2Random.nextInt(2) + 2);
|
||||
|
||||
for (int i2 = 0; i2 < l1; ++i2)
|
||||
if (Blocks.plants.get().canBlockStay(par1World, i1, j1, k1))
|
||||
{
|
||||
if (Blocks.plants.get().canBlockStay(par1World, i1, j1 + i2, k1))
|
||||
for (int i2 = 0; i2 < l1; ++i2)
|
||||
{
|
||||
par1World.setBlock(i1, j1 + i2, k1, Blocks.plants.get().blockID, 8, 2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue