Purified grass no longer burns infinitely outside the Nether.

This commit is contained in:
Adubbz 2013-10-25 17:55:18 +11:00
parent a155097dee
commit faac6453d7

View file

@ -81,17 +81,12 @@ public class BlockBOPGrass extends Block
if (metadata == 0) if (metadata == 0)
{ {
if (blockId == Block.netherrack.blockID && side == UP) if (blockId == this.blockID && side == UP && world.provider.dimensionId == -1)
return true;
if (blockId == this.blockID && side == UP)
return true;
if ((world.provider instanceof WorldProviderEnd) && blockID == Block.bedrock.blockID && side == UP)
return true; return true;
} }
else if (metadata == 1) return true;
return false; return super.isFireSource(world, x, y, z, metadata, side);
} }
@Override @Override