Mana Bursts with the Flash lens can now create flashes in tall grass and other replaceable blocks.

This commit is contained in:
Lizbeth Rika committed 2015-05-18 15:25:28 +01:00
1 parent 02c3c614bf
commit fe1035dfb6
1 file changed
+1 -1
@@ -39,7 +39,7 @@ public class LensLight extends Lens {
if(blockAt == ModBlocks.manaFlame)
entity.worldObj.setBlock(pos.blockX, pos.blockY, pos.blockZ, Blocks.air);
else if(blockAt_.isAir(entity.worldObj, x, y, z)) {
else if(blockAt_.isAir(entity.worldObj, x, y, z) || blockAt_.isReplaceable(entity.worldObj, x, y, z)) {
entity.worldObj.setBlock(x, y, z, ModBlocks.manaFlame);
TileEntity tile = entity.worldObj.getTileEntity(x, y, z);