mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-20 04:09:56 +00:00
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:
1 parent
a081a4f066
commit
adea6b3dec
40 files changed
+41
-40
No files matched your search
@@ -36,8 +36,8 @@ public class BlockCubeGenerator extends AEBaseBlock
|
||||
public BlockCubeGenerator()
|
||||
{
|
||||
super( BlockCubeGenerator.class, Material.iron );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
this.setTileEntity( TileCubeGenerator.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user