public void DestroyMountPoint() { if (isDriver) { return; } if (entity.IsMounted()) { DismountPlayer(); } if (entity != null && !entity.IsDestroyed) { Destroy(entity.GetComponent <InvisibleMount>()); entity.Kill(BaseNetworkable.DestroyMode.None); } }