Skip to content

[Bug]: onPlaceBlock 放置任意方块 打印的结果都是 空气 minecraft:air #242

Open
@Atrium4641

Description

@Atrium4641

Describe the bug

mc.listen("onPlaceBlock", (player, block, face) => {
    logger.warn(block.type);
})

onPlaceBlock 放置任意告示牌打印的结果都是minecraft:air

To Reproduce

mc.listen("onPlaceBlock", (player, block, face) => {
    logger.warn(block.type);
})

Expected behavior

onPlaceBlock 放置任意方块 打印的结果不都是空气

Screenshots

No response

Platform

Win10

BDS Version

1.21.50

LeviLamina Version

1.0.1

LegacyScriptEngine Version

0.9.7

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