Skip to content

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

Closed as duplicate
Closed as duplicate

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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