Purified grass no longer burns infinitely outside the Nether.
This commit is contained in:
parent
a155097dee
commit
faac6453d7
1 changed files with 3 additions and 8 deletions
|
@ -81,17 +81,12 @@ public class BlockBOPGrass extends Block
|
|||
|
||||
if (metadata == 0)
|
||||
{
|
||||
if (blockId == Block.netherrack.blockID && side == UP)
|
||||
return true;
|
||||
|
||||
if (blockId == this.blockID && side == UP)
|
||||
return true;
|
||||
|
||||
if ((world.provider instanceof WorldProviderEnd) && blockID == Block.bedrock.blockID && side == UP)
|
||||
if (blockId == this.blockID && side == UP && world.provider.dimensionId == -1)
|
||||
return true;
|
||||
}
|
||||
else if (metadata == 1) return true;
|
||||
|
||||
return false;
|
||||
return super.isFireSource(world, x, y, z, metadata, side);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue