Fixes publishing
This commit is contained in:
parent
6119774dc9
commit
58be0d416c
53 changed files with 981 additions and 1225 deletions
|
|
@ -144,8 +144,8 @@ namespace Server.Commands
|
|||
|
||||
AddTypes(Core.Assembly, types);
|
||||
|
||||
for (int i = 0; i < ScriptCompiler.Assemblies.Length; ++i)
|
||||
AddTypes(ScriptCompiler.Assemblies[i], types);
|
||||
for (int i = 0; i < AssemblyHandler.Assemblies.Length; ++i)
|
||||
AddTypes(AssemblyHandler.Assemblies[i], types);
|
||||
|
||||
m_RootItems = Load(types, "Data/items.cfg");
|
||||
m_RootMobiles = Load(types, "Data/mobiles.cfg");
|
||||
|
|
@ -315,7 +315,7 @@ namespace Server.Commands
|
|||
|
||||
for (int i = 0; i < split.Length; ++i)
|
||||
{
|
||||
Type type = ScriptCompiler.FindTypeByName(split[i].Trim());
|
||||
Type type = AssemblyHandler.FindTypeByName(split[i].Trim());
|
||||
|
||||
if (type == null)
|
||||
Console.WriteLine("Match type not found ('{0}')", split[i].Trim());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue