Fixes more casting
This commit is contained in:
parent
61937d9c97
commit
e77d695684
91 changed files with 512 additions and 908 deletions
|
|
@ -51,9 +51,7 @@ namespace Server.Guilds
|
|||
{
|
||||
base.OnResponse( sender, info );
|
||||
|
||||
PlayerMobile pm = sender.Mobile as PlayerMobile;
|
||||
|
||||
if ( pm == null || !IsMember( pm, guild ) )
|
||||
if ( !(sender.Mobile is PlayerMobile pm) || !IsMember( pm, guild ) )
|
||||
return;
|
||||
|
||||
GuildDisplayType display = m_Display;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue