1
0

fix: 代码执行顺序

This commit is contained in:
2022-08-28 19:24:09 +08:00
parent 39368b06b4
commit 71255f20c8
+2 -2
View File
@@ -1,7 +1,5 @@
// priority: 0 // priority: 0
console.info(`${LOG_PREFIX} 处理 ${MOD_ID} 相关内容`);
const defaults = global.defaults; const defaults = global.defaults;
const LOG_PREFIX = global.LOG_PREFIX; const LOG_PREFIX = global.LOG_PREFIX;
@@ -97,6 +95,8 @@ const setBlockProps = function (block, options) {
}; };
console.info(`${LOG_PREFIX} 处理 ${MOD_ID} 相关内容`);
// 注册方块 - 路 // 注册方块 - 路
onEvent('block.registry', (event) => { onEvent('block.registry', (event) => {