Fixes null propogation

This commit is contained in:
Kamron Batman 2018-09-14 13:49:23 -07:00
parent 22ab83ea9e
commit 3c9842ee5a
218 changed files with 799 additions and 1458 deletions

View file

@ -168,8 +168,7 @@ namespace Server.Gumps
{
GuildTeleporter item = new GuildTeleporter( m_Guild.Guildstone );
if ( m_Guild.Teleporter != null )
m_Guild.Teleporter.Delete();
m_Guild.Teleporter?.Delete();
m_Mobile.SendLocalizedMessage( 501133 ); // Use the teleporting object placed in your backpack to move this guildstone.