mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
The Kindle Lens can no longer replace blocks. Closes #244.
This commit is contained in:
1 parent
6f41b90620
commit
8584ecbdb4
1 file changed
+1
-1
@@ -397,7 +397,7 @@ public class ItemLens extends ItemMod implements ILens {
|
||||
|
||||
if(blockAt == Blocks.portal)
|
||||
entity.worldObj.setBlock(pos.blockX, pos.blockY, pos.blockZ, Blocks.air);
|
||||
else if(blockAt_.isAir(entity.worldObj, x, y, z) || blockAt_.isReplaceable(entity.worldObj, x, y, z))
|
||||
else if(blockAt_.isAir(entity.worldObj, x, y, z))
|
||||
entity.worldObj.setBlock(x, y, z, Blocks.fire);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user