Fixes more casting and other formatting issues.
This commit is contained in:
parent
03dd5f1926
commit
61937d9c97
67 changed files with 325 additions and 570 deletions
|
|
@ -39,9 +39,7 @@ namespace Server.Engines.MLQuests.Gumps
|
|||
|
||||
public override void OnResponse( NetState sender, RelayInfo info )
|
||||
{
|
||||
PlayerMobile pm = sender.Mobile as PlayerMobile;
|
||||
|
||||
if ( pm == null )
|
||||
if ( !(sender.Mobile is PlayerMobile pm) )
|
||||
return;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue