mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 10:49:47 +00:00
Enabled script console
This commit is contained in:
1 parent
375c41daba
commit
4764b8eb30
1 file changed
+2
-2
@@ -153,7 +153,7 @@ public class ScriptContainer implements IScriptUnit {
|
||||
var14.printStackTrace(pw);
|
||||
} finally {
|
||||
String errorString = sw.getBuffer().toString().trim();
|
||||
// this.appendConsole(errorString);
|
||||
this.appendConsole(errorString);
|
||||
pw.close();
|
||||
}
|
||||
}
|
||||
@@ -228,7 +228,7 @@ public class ScriptContainer implements IScriptUnit {
|
||||
errored = true;
|
||||
e.printStackTrace(pw);
|
||||
} finally {
|
||||
// appendConsole(sw.getBuffer().toString().trim());
|
||||
appendConsole(sw.getBuffer().toString().trim());
|
||||
pw.close();
|
||||
Current = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user