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
|
|
@ -1025,7 +1025,7 @@ namespace Server.Commands
|
|||
|
||||
int indexOf = line.IndexOf(' ');
|
||||
|
||||
list.m_Type = AssemblyHandler.FindTypeByName(line.Substring(0, indexOf++), true);
|
||||
list.m_Type = AssemblyHandler.FindFirstTypeForName(line.Substring(0, indexOf++), true);
|
||||
|
||||
if (list.m_Type == null)
|
||||
throw new ArgumentException($"Type not found for header: '{line}'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue