Skip to content

[Bug]: 生成NPC捕获到空指针还崩服 #328

@cjxpj

Description

@cjxpj

Describe the bug

生成NPC捕获到空指针还崩服
客户端日志
server_2025-09-21 - 副本.log
崩溃日志

trace_2025-09-20_19-23-34.log

To Reproduce

let x = block.pos.x;
let y = block.pos.y;
let z = block.pos.z;
let dimid = block.pos.dimid;
let pl_bot = mc.spawnSimulatedPlayer("挂机假人", x, y - 1, z, dimid);

Expected behavior

生成假人

Screenshots

No response

Platform

Win11

BDS Version

1.21.93

LeviLamina Version

1.44

LegacyScriptEngine Version

0.13.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