Fixes publishing

This commit is contained in:
Kamron Batman 2019-10-04 22:02:19 -07:00
parent 6119774dc9
commit 58be0d416c
No known key found for this signature in database
GPG key ID: 5C9DFD15804B6BB8
53 changed files with 981 additions and 1225 deletions

View file

@ -47,7 +47,7 @@ namespace Server.Engines.MLQuests
string[] split = line.Split('\t');
Type type = ScriptCompiler.FindTypeByName(split[0]);
Type type = AssemblyHandler.FindTypeByName(split[0]);
if (type == null || !baseQuestType.IsAssignableFrom(type))
{
@ -76,7 +76,7 @@ namespace Server.Engines.MLQuests
for (int i = 1; i < split.Length; ++i)
{
Type questerType = ScriptCompiler.FindTypeByName(split[i]);
Type questerType = AssemblyHandler.FindTypeByName(split[i]);
if (questerType == null || !baseQuesterType.IsAssignableFrom(questerType))
{
@ -157,7 +157,7 @@ namespace Server.Engines.MLQuests
return;
}
Type index = ScriptCompiler.FindTypeByName(e.GetString(0));
Type index = AssemblyHandler.FindTypeByName(e.GetString(0));
if (index == null || !Quests.TryGetValue(index, out MLQuest quest))
{
@ -183,7 +183,7 @@ namespace Server.Engines.MLQuests
return;
}
Type index = ScriptCompiler.FindTypeByName(e.GetString(0));
Type index = AssemblyHandler.FindTypeByName(e.GetString(0));
if (index == null || !Quests.TryGetValue(index, out MLQuest quest))
{
@ -638,7 +638,7 @@ namespace Server.Engines.MLQuests
if (typeName == null)
return null; // not serialized
Type questType = ScriptCompiler.FindTypeByFullName(typeName);
Type questType = AssemblyHandler.FindTypeByFullName(typeName);
if (questType == null)
return null; // no longer a type