final variables and parameters
seeing some methods it does actually help to enforce the parameters
This commit is contained in:
@@ -33,7 +33,7 @@ public final class EntityFloatingItem extends EntityItem
|
||||
int superDeath = 0;
|
||||
float progress = 0;
|
||||
|
||||
public EntityFloatingItem( Entity parent, World world, double x, double y, double z, ItemStack stack )
|
||||
public EntityFloatingItem( final Entity parent, final World world, final double x, final double y, final double z, final ItemStack stack )
|
||||
{
|
||||
super( world, x, y, z, stack );
|
||||
this.motionX = this.motionY = this.motionZ = 0.0d;
|
||||
@@ -61,7 +61,7 @@ public final class EntityFloatingItem extends EntityItem
|
||||
this.age = ageStatic;
|
||||
}
|
||||
|
||||
public void setProgress( float progress )
|
||||
public void setProgress( final float progress )
|
||||
{
|
||||
this.progress = progress;
|
||||
if( this.progress > 0.99 )
|
||||
|
||||
Reference in New Issue
Block a user