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:
yueh
2015-04-04 01:26:35 +02:00
parent a081a4f066
commit adea6b3dec
40 changed files with 41 additions and 40 deletions
@@ -43,12 +43,12 @@ public class BlockQuantumRing extends AEBaseBlock implements ICustomCollision
public BlockQuantumRing()
{
super( BlockQuantumRing.class, Material.iron );
this.setFeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
this.setTileEntity( TileQuantumBridge.class );
float shave = 2.0f / 16.0f;
this.setBlockBounds( shave, shave, shave, 1.0f - shave, 1.0f - shave, 1.0f - shave );
this.setLightOpacity( 1 );
this.isFullSize = this.isOpaque = false;
this.setFeature( EnumSet.of( AEFeature.QuantumNetworkBridge ) );
}
@Override