style: change error color
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
8f01dcc8e8
commit
251c9366f5
@ -122,7 +122,7 @@ export class MiaoScriptConsole implements Console {
|
||||
}
|
||||
stack(ex: Error): string[] {
|
||||
var stack = ex.getStackTrace();
|
||||
var cache = ['§4' + ex];
|
||||
var cache = ['§c' + ex];
|
||||
//@ts-ignore
|
||||
if (stack.class) {
|
||||
stack = Arrays.asList(stack)
|
||||
|
Loading…
Reference in New Issue
Block a user