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:
@@ -47,12 +47,7 @@ public class OreQuartz extends AEBaseBlock
|
||||
|
||||
public OreQuartz()
|
||||
{
|
||||
this( OreQuartz.class );
|
||||
}
|
||||
|
||||
public OreQuartz( Class<? extends OreQuartz> self )
|
||||
{
|
||||
super( self, Material.rock );
|
||||
super( Material.rock );
|
||||
this.setHardness( 3.0F );
|
||||
this.setResistance( 5.0F );
|
||||
this.boostBrightnessLow = 0;
|
||||
|
||||
Reference in New Issue
Block a user