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
|
|
@ -40,7 +40,7 @@ namespace Server.Gumps
|
|||
targeted is AddonComponent)
|
||||
targeted = ((AddonComponent)targeted).Addon;
|
||||
|
||||
if (m_Type.IsAssignableFrom(targeted.GetType()))
|
||||
if (m_Type.IsInstanceOfType(targeted))
|
||||
{
|
||||
CommandLogging.LogChangeProperty(m_Mobile, m_Object, m_Property.Name, targeted.ToString());
|
||||
m_Property.SetValue(m_Object, targeted, null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue