7 lines
383 B
Mcfunction
7 lines
383 B
Mcfunction
# 调用者:#fz:logger/init
|
|
|
|
## 读取日志等级存入缓存
|
|
execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current
|
|
|
|
## 调试
|
|
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已加载系统组件:日志"}] |