From d4a5b7e3a5bead96c1b08a1ea1536c6561b034ad Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 12 Dec 2012 02:24:47 -0800 Subject: [PATCH] Fix shouldRiderSit() to properly determine if rider is sitting. --- patches/common/net/minecraft/src/Entity.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/common/net/minecraft/src/Entity.java.patch b/patches/common/net/minecraft/src/Entity.java.patch index 6936151d83..e4c70d1d04 100644 --- a/patches/common/net/minecraft/src/Entity.java.patch +++ b/patches/common/net/minecraft/src/Entity.java.patch @@ -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);