Changed access to use this qualifier
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user