rider null check

This commit is contained in:
mark 2013-01-27 02:47:04 +00:00
parent cf3f6e8276
commit 76eec82ce1

View file

@ -260,7 +260,7 @@ namespace Server.Mobiles
Internalize();
}
if( m_Rider.Target is Bola.BolaTarget )
if( m_Rider != null && m_Rider.Target is Bola.BolaTarget )
{
m_Rider.Target.Cancel( this, TargetCancelType.Canceled );
}