mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-24 22:14:33 +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
@@ -34,8 +34,8 @@ public class BlockItemGen extends AEBaseBlock
|
||||
public BlockItemGen()
|
||||
{
|
||||
super( BlockItemGen.class, Material.iron );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
this.setTileEntity( TileItemGen.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user