More cast conversion fixes
This commit is contained in:
parent
3f45bd57b9
commit
aba9452161
46 changed files with 359 additions and 506 deletions
|
|
@ -132,9 +132,7 @@ namespace Server.Items
|
|||
|
||||
foreach ( NetState state in eable )
|
||||
{
|
||||
PlayerMobile pm = state.Mobile as PlayerMobile;
|
||||
|
||||
if ( pm != null && GetEntry( pm ) == null )
|
||||
if ( state.Mobile is PlayerMobile pm && GetEntry( pm ) == null )
|
||||
{
|
||||
CampfireEntry entry = new CampfireEntry( pm, this );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue