fz-survival-datapack/data/fz/functions/logger/load.mcfunction
2022-07-09 13:06:56 +08:00

7 lines
384 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 ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已加载系统组件:日志"}]