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:
@@ -39,7 +39,6 @@ public class BlockQuartzLamp extends BlockQuartzGlass
|
||||
|
||||
public BlockQuartzLamp()
|
||||
{
|
||||
super( BlockQuartzLamp.class );
|
||||
this.setLightLevel( 1.0f );
|
||||
this.setBlockTextureName( "BlockQuartzGlass" );
|
||||
this.setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks, AEFeature.DecorativeLights ) );
|
||||
|
||||
Reference in New Issue
Block a user