Fixes several more expression issues and cast type check merges.
This commit is contained in:
parent
f93c3b992e
commit
9542c79ea4
24 changed files with 106 additions and 145 deletions
|
|
@ -136,7 +136,7 @@ namespace Server.Engines.MLQuests.Objectives
|
|||
{
|
||||
Type destType = Objective.Destination;
|
||||
|
||||
return destType != null && destType.IsAssignableFrom(type);
|
||||
return destType?.IsAssignableFrom(type) == true;
|
||||
}
|
||||
|
||||
public override bool IsCompleted()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue