fixes TypeCache lookup speed and errors (#95)
This commit is contained in:
parent
e97d2cb131
commit
f8f372ccb9
26 changed files with 101 additions and 109 deletions
|
|
@ -89,7 +89,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
int index = 0;
|
||||
|
||||
Type objectType = AssemblyHandler.FindTypeByName(args[offset + index], true);
|
||||
Type objectType = AssemblyHandler.FindFirstTypeForName(args[offset + index], true);
|
||||
|
||||
if (objectType == null)
|
||||
throw new Exception($"No type with that name ({args[offset + index]}) was found.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue