fix(core): Fixes bad check for verifying types (#662)
This commit is contained in:
parent
bd34e2fb0d
commit
c9ce597573
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ namespace Server
|
|||
{
|
||||
Interlocked.Increment(ref _itemCount);
|
||||
}
|
||||
else if (!type.IsSubclassOf(typeof(Mobile)))
|
||||
else if (type.IsSubclassOf(typeof(Mobile)))
|
||||
{
|
||||
Interlocked.Increment(ref _mobileCount);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue