mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 03:44:49 +00:00
Scripted Items Display Errors & Fix Console Scroll Wheel and Scroll Bar
This commit is contained in:
1 parent
4202cb7271
commit
eeb6b2ea8b
8 files changed
+198
-40
No files matched your search
@@ -132,7 +132,7 @@ public class ScriptContainer {
|
||||
var14.printStackTrace(pw);
|
||||
} finally {
|
||||
String errorString = sw.getBuffer().toString().trim();
|
||||
this.appandConsole(errorString);
|
||||
this.appendConsole(errorString);
|
||||
pw.close();
|
||||
}
|
||||
}
|
||||
@@ -201,14 +201,14 @@ public class ScriptContainer {
|
||||
e.printStackTrace(pw);
|
||||
}
|
||||
finally {
|
||||
appandConsole(sw.getBuffer().toString().trim());
|
||||
appendConsole(sw.getBuffer().toString().trim());
|
||||
pw.close();
|
||||
Current = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void appandConsole(String message) {
|
||||
public void appendConsole(String message) {
|
||||
if (message != null && !message.isEmpty()) {
|
||||
long time = System.currentTimeMillis();
|
||||
if (this.console.containsKey(time)) {
|
||||
|
||||
Reference in new issue
Block a user