Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -113,8 +113,8 @@ namespace Server.SkillHandlers
|
|||
from.SendLocalizedMessage( 502372 ); // You fail to disarm the trap... but you don't set it off
|
||||
}
|
||||
|
||||
if ( !isOwner && kit != null )
|
||||
kit.ConsumeCharge( from );
|
||||
if ( !isOwner )
|
||||
kit?.ConsumeCharge( @from );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue