Merge pull request #2589 from diesieben07/player_riding_fix

Fix broken patch in EntityPlayer.updateRidden
This commit is contained in:
LexManos 2016-03-19 21:23:25 -07:00
commit 5ad2fc90cb

View file

@ -42,7 +42,7 @@
this.func_71015_k(this.field_70165_t - d0, this.field_70163_u - d1, this.field_70161_v - d2);
- if (this.func_184187_bx() instanceof EntityPig)
+ if (this.func_184187_bx() instanceof EntityLivingBase && ((EntityLivingBase)this.func_94060_bK()).shouldRiderFaceForward(this))
+ if (this.func_184187_bx() instanceof EntityLivingBase && ((EntityLivingBase)this.func_184187_bx()).shouldRiderFaceForward(this))
{
this.field_70125_A = f1;
this.field_70177_z = f;