Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -104,8 +104,7 @@ namespace Server.Items
|
|||
|
||||
Spellbook book = Find( from, -1, type );
|
||||
|
||||
if ( book != null )
|
||||
book.DisplayTo( from );
|
||||
book?.DisplayTo( @from );
|
||||
}
|
||||
|
||||
private static void EventSink_CastSpellRequest( CastSpellRequestEventArgs e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue