Moved AEBaseBlock.setFeature() to the end of any constructor.
Otherwise it can cause a registration of incomplete blocks, like missing subtypes.
This commit is contained in:
@@ -49,8 +49,8 @@ public class BlockEnergyCell extends AEBaseBlock
|
||||
public BlockEnergyCell()
|
||||
{
|
||||
this( BlockEnergyCell.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
this.setTileEntity( TileEnergyCell.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.Core ) );
|
||||
}
|
||||
|
||||
public BlockEnergyCell( Class c )
|
||||
|
||||
Reference in New Issue
Block a user