LiteLDev / LeviLamina

A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
https://levimc.org/software/levilamina
GNU Lesser General Public License v3.0
1.14k stars 117 forks source link

llse的colorlog无法正确输出颜色 #340

Closed Singl-Daemon closed 2 years ago

Singl-Daemon commented 2 years ago

Exceptions module 异常模块

ScriptEngine 脚本引擎

Operating System 操作系统

Windows Server 2019

LiteLoader version LiteLoader版本

2.1.6

BDS version BDS版本

1.18.12

What happened? 发生了什么问题?

当使用colorlog时无法正确输出颜色 比如colorLog("green","hello") 他只会输出白色的而不是绿色的 其他颜色如上

Steps to reproduce? 复现此问题的步骤

1.colorLog("green","hello") 2.加载插件

Relevant log output 有关的日志/输出

20:52:33 INFO [test] hello
//并不是绿色的

Plugin list 插件列表

21:00:04 INFO [Server] Plugin Lists [4] 21:00:04 INFO [Server] - LLMoney [v2.1.5] (LLMoney.dll) 21:00:04 INFO [Server] EconomyCore for LiteLoaderBDS 21:00:04 INFO [Server] - ScriptEngine-Lua [v2.1.6] (LiteLoader.Lua.dll) 21:00:04 INFO [Server] Lua ScriptEngine for LiteLoaderBDS 21:00:04 INFO [Server] - ScriptEngine-Js [v2.1.6] (LiteLoader.Js.dll) 21:00:04 INFO [Server] Javascript ScriptEngine for LiteLoaderBDS 21:00:04 INFO [Server] - test.js [v1.0.0] (test.js) 21:00:04 INFO [Server] nmsl.js

Singl-Daemon commented 2 years ago

az露插件名了

Singl-Daemon commented 2 years ago

那个****.js就是test.js

Singl-Daemon commented 2 years ago

关了

xiaoqch commented 2 years ago

已修复,如问题仍存在,请重新打开此issue