mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Mana Bursts with the Flash lens can now create flashes in tall grass and other replaceable blocks.
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user