Fixed Bug: #1040 - Cables can be broken by hand in adventure mode
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user