Changed access to use this qualifier

This commit is contained in:
yueh
2014-12-29 15:13:47 +01:00
parent 2a5e57a59b
commit f471513bd0
604 changed files with 11573 additions and 11573 deletions
@@ -34,7 +34,7 @@ final public class EntityFloatingItem extends EntityItem
public EntityFloatingItem(Entity parent, World p_i1710_1_, double p_i1710_2_, double p_i1710_4_, double p_i1710_6_, ItemStack p_i1710_8_) {
super( p_i1710_1_, p_i1710_2_, p_i1710_4_, p_i1710_6_, p_i1710_8_ );
motionX = motionY = motionZ = 0.0d;
this.motionX = this.motionY = this.motionZ = 0.0d;
this.hoverStart = 0.5f;
this.rotationYaw = 0;
this.parent = parent;
@@ -45,11 +45,11 @@ final public class EntityFloatingItem extends EntityItem
@Override
public void onUpdate()
{
if ( !isDead && parent.isDead )
if ( !this.isDead && this.parent.isDead )
this.setDead();
if ( superDeath++ > 100 )
setDead();
if ( this.superDeath++ > 100 )
this.setDead();
this.age = ageStatic;
}