cleanup: Fixes bugs and cleans up code (#660)
This commit is contained in:
parent
1de0b656a9
commit
679e8100f4
99 changed files with 160 additions and 346 deletions
|
|
@ -21,9 +21,9 @@ namespace Server.Commands.Generic
|
|||
|
||||
public Type Type { get; }
|
||||
|
||||
public bool IsItem => Type == null || Type.IsAssignableTo(OfItem);
|
||||
public bool IsItem => Type?.IsAssignableTo(OfItem) != false;
|
||||
|
||||
public bool IsMobile => Type == null || Type.IsAssignableTo(OfMobile);
|
||||
public bool IsMobile => Type?.IsAssignableTo(OfMobile) != false;
|
||||
|
||||
public bool HasCompiled => m_Conditionals != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue