Fixes publishing
This commit is contained in:
parent
6119774dc9
commit
58be0d416c
53 changed files with 981 additions and 1225 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue