Fixed Bug: #1040 - Cables can be broken by hand in adventure mode

This commit is contained in:
AlgorithmX2
2014-09-09 21:12:49 -05:00
parent 0a08ba4bde
commit e6e5d4bab5
8 changed files with 20 additions and 15 deletions
@@ -2,16 +2,16 @@ package appeng.block.networking;
import java.util.EnumSet;
import net.minecraft.block.material.Material;
import appeng.block.AEBaseBlock;
import appeng.core.features.AEFeature;
import appeng.helpers.AEGlassMaterial;
import appeng.tile.networking.TileCreativeEnergyCell;
public class BlockCreativeEnergyCell extends AEBaseBlock
{
public BlockCreativeEnergyCell() {
super( BlockCreativeEnergyCell.class, Material.glass );
super( BlockCreativeEnergyCell.class, AEGlassMaterial.instance );
setfeature( EnumSet.of( AEFeature.Creative ) );
setTileEntiy( TileCreativeEnergyCell.class );
}