-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug


onRedStoneUpdate 参数 isActive 异常,有时 isActive 始终为 false 有时 isActive 第一次是 true 之后始终都是false
To Reproduce
mc.listen("onRedStoneUpdate", (block, level, isActive) => {
// 调试日志:显示所有红石更新
const pos = block.pos;
logger.warn(`红石更新: ${block.type} at (${pos.x},${pos.y},${pos.z}) - 激活:${isActive}, 等级:${level}`);
});
Expected behavior
激活时 isActive 为 true 熄灭时 isActive 为 false
Screenshots
No response
Platform
win10
BDS Version
1.21.93
LeviLamina Version
1.4.1
LegacyScriptEngine Version
0.13.0
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working