Fixes publishing
This commit is contained in:
parent
6119774dc9
commit
58be0d416c
53 changed files with 981 additions and 1225 deletions
|
|
@ -444,7 +444,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
if (e.Length >= 1)
|
||||
{
|
||||
Type t = ScriptCompiler.FindTypeByName(e.GetString(0));
|
||||
Type t = AssemblyHandler.FindTypeByName(e.GetString(0));
|
||||
|
||||
if (t == null)
|
||||
{
|
||||
|
|
@ -1108,4 +1108,4 @@ namespace Server.Commands.Generic
|
|||
LogFailure("No house was found.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
int index = 0;
|
||||
|
||||
Type objectType = ScriptCompiler.FindTypeByName(args[offset + index], true);
|
||||
Type objectType = AssemblyHandler.FindTypeByName(args[offset + index], true);
|
||||
|
||||
if (objectType == null)
|
||||
throw new Exception($"No type with that name ({args[offset + index]}) was found.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue