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:
@@ -36,15 +36,9 @@ import appeng.helpers.AEGlassMaterial;
|
||||
|
||||
public class BlockQuartzGlass extends AEBaseBlock
|
||||
{
|
||||
|
||||
public BlockQuartzGlass()
|
||||
{
|
||||
this( BlockQuartzGlass.class );
|
||||
}
|
||||
|
||||
public BlockQuartzGlass( Class c )
|
||||
{
|
||||
super( c, Material.glass );
|
||||
super( Material.glass );
|
||||
this.setLightOpacity( 0 );
|
||||
this.isOpaque = false;
|
||||
this.setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
|
||||
|
||||
Reference in New Issue
Block a user