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
@@ -40,9 +40,9 @@ public class BlockChunkloader extends AEBaseBlock implements LoadingCallback
public BlockChunkloader()
{
super( BlockChunkloader.class, Material.iron );
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
this.setTileEntity( TileChunkLoader.class );
ForgeChunkManager.setForcedChunkLoadingCallback( AppEng.instance, this );
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
}
@Override