From faac6453d7b93e41a73ebd039c02b027d8d0c53b Mon Sep 17 00:00:00 2001 From: Adubbz Date: Fri, 25 Oct 2013 17:55:18 +1100 Subject: [PATCH] Purified grass no longer burns infinitely outside the Nether. --- common/biomesoplenty/blocks/BlockBOPGrass.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/common/biomesoplenty/blocks/BlockBOPGrass.java b/common/biomesoplenty/blocks/BlockBOPGrass.java index 85661d8e0..ef66c09dc 100644 --- a/common/biomesoplenty/blocks/BlockBOPGrass.java +++ b/common/biomesoplenty/blocks/BlockBOPGrass.java @@ -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