Skip to content

Commit

Permalink
imports fix, log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpendic committed Jan 13, 2018
1 parent 76d826a commit 857e6d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion client/GlassModManager.cs
Expand Up @@ -635,7 +635,9 @@
}

function GlassAuth::onAuthSuccess(%this) {
GlassModManager.checkImports();
if(!%this.firstAuth)
GlassModManager.checkImports();

parent::onAuthSuccess(%this);
}
};
Expand Down
7 changes: 6 additions & 1 deletion core.cs
@@ -1,7 +1,7 @@
function Glass::init(%context) {
if(!isObject(Glass)) {
new ScriptObject(Glass) {
version = "4.2.0";
version = "4.2.1-beta";
address = "api.blocklandglass.com"; //api address
netAddress = "blocklandglass.com"; //url address
enableCLI = true;
Expand All @@ -11,6 +11,11 @@
};
}

if(!isObject(GlassLog)) {
exec("./common/GlassLog.cs");
GlassLog::init();
}

if(isFile("Add-Ons/System_BlocklandGlass/dev/config.json")) {
exec("./support/jettison.cs");
%err = jettisonReadFile("Add-Ons/System_BlocklandGlass/dev/config.json");
Expand Down

0 comments on commit 857e6d7

Please sign in to comment.