mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-24 22:14:33 +00:00
Removes the unneeded information about the current class in all blocks
Every Block had a call to its super, passing its own class. This can easily be simulated by calling `this.getClass()` in the super class. Also this was basically only used as using a name. In the future it might be advisable to not use such methods, since they are prone to refactoring.
This commit is contained in:
1 parent
e6e1771349
commit
dbacb566bb
54 files changed
+81
-125
No files matched your search
@@ -33,7 +33,7 @@ public class BlockItemGen extends AEBaseBlock
|
||||
|
||||
public BlockItemGen()
|
||||
{
|
||||
super( BlockItemGen.class, Material.iron );
|
||||
super( Material.iron );
|
||||
this.setTileEntity( TileItemGen.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user