public void CheckMountBuff(Player mountedPlayer)
{
if (this._type == -1)
return;
for (int index = 0; index < 22; ++index)
{
if (mountedPlayer.buffType[index] == this._data.buff || this.Cart && mountedPlayer.buffType[index] == this._data.extraBuff)
return;
}
this.Dismount(mountedPlayer);
}