Skip to content

[Bug]:onBlockExploded 回调函数参数异常 #264

@ye111566

Description

@ye111566

Describe the bug

mc.listen("onBlockExploded", (block, source) => {log(String(block.type))})
然后触发爆炸 控制台输出的都是minecraft:air

To Reproduce

mc.listen("onBlockExploded", (block, source) => {log(String(block.type))})
然后触发爆炸 控制台输出的都是minecraft:air

Expected behavior

mc.listen("onBlockExploded", (block, source) => {log(String(block.type))})
然后触发爆炸 控制台输出的应该是被爆炸破坏的方块

Screenshots

No response

Platform

No response

BDS Version

1.21.60-10.776+063128a

LeviLamina Version

1.1.1

LegacyScriptEngine Version

0.10.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions