fixes TypeCache lookup speed and errors (#95)

This commit is contained in:
Andrew Fryer 2020-02-21 23:07:11 -05:00 committed by GitHub
parent e97d2cb131
commit f8f372ccb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 101 additions and 109 deletions

View file

@ -19,7 +19,7 @@ namespace Server.Gumps
Parent = parent;
if (xml.MoveToAttribute("type"))
Type = AssemblyHandler.FindTypeByFullName(xml.Value, false);
Type = AssemblyHandler.FindFirstTypeForName(xml.Value, false);
if (xml.MoveToAttribute("gfx"))
ItemID = XmlConvert.ToInt32(xml.Value);