Fix shouldRiderSit() to properly determine if rider is sitting.

This commit is contained in:
LexManos 2012-12-12 02:24:47 -08:00
parent 76d6bc3cfa
commit d4a5b7e3a5

View file

@ -21,6 +21,15 @@
public Entity(World par1World)
{
@@ -519,7 +526,7 @@
if (!this.worldObj.isRemote)
{
this.setFlag(0, this.fire > 0);
- this.setFlag(2, this.ridingEntity != null);
+ this.setFlag(2, this.ridingEntity != null && ridingEntity.shouldRiderSit());
}
this.firstUpdate = false;
@@ -1489,6 +1496,15 @@
par1NBTTagCompound.setInteger("Dimension", this.dimension);
par1NBTTagCompound.setBoolean("Invulnerable", this.field_83001_bt);