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

@ -422,7 +422,7 @@ namespace Server
public void Force()
{
if (ScriptCompiler.Assemblies == null || ScriptCompiler.Assemblies.Length == 0)
if ((AssemblyHandler.Assemblies?.Length ?? 0) == 0)
throw new Exception();
}