if (this.riddenByEntity != null && this.riddenByEntity instanceof EntityPlayerMP)
{
if (!this.worldObj.isRemote)
{
GalacticraftCore.packetPipeline.sendTo(new PacketSimple(EnumSimplePacket.C_RESET_THIRD_PERSON, new Object[] { }), (EntityPlayerMP) par1EntityPlayer);
GCPlayerStats stats = GCPlayerStats.get((EntityPlayerMP) par1EntityPlayer);
stats.chatCooldown = 0;
par1EntityPlayer.mountEntity(null);
}
return true;
}
else if (par1EntityPlayer instanceof EntityPlayerMP)
{
if (!this.worldObj.isRemote)
{
GalacticraftCore.packetPipeline.sendTo(new PacketSimple(EnumSimplePacket.C_DISPLAY_ROCKET_CONTROLS, new Object[] { }), (EntityPlayerMP) par1EntityPlayer);
GCPlayerStats stats = GCPlayerStats.get((EntityPlayerMP) par1EntityPlayer);
stats.chatCooldown = 0;
par1EntityPlayer.mountEntity(this);
}
return true;