Prevent breaking of tank air blocks in creative + survival

This commit is contained in:
Arthur Uzulin committed 2013-10-08 21:27:21 +11:00
1 parent 0213cd9206
commit 56e975335e
3 files changed
+27 -3

No files matched your search

+1 -1
View File
@@ -405,7 +405,7 @@ public class TContent implements IFuelHandler
GameRegistry.registerBlock(castingChannel, CastingChannelItem.class, "CastingChannel");
GameRegistry.registerTileEntity(CastingChannelLogic.class, "CastingChannel");
tankAir = new TankAirBlock(PHConstruct.airTank, Material.air).setUnlocalizedName("tconstruct.tank.air");
tankAir = new TankAirBlock(PHConstruct.airTank, Material.air).setBlockUnbreakable().setUnlocalizedName("tconstruct.tank.air");
GameRegistry.registerBlock(tankAir, "TankAir");
GameRegistry.registerTileEntity(TankAirLogic.class, "tconstruct.tank.air");