Skip to content

[Bug]: 在物品容器NBT标签中,调用此NBT标签的toObject方法,会有部分不被转换 #317

@SCFY233

Description

@SCFY233

Describe the bug

在物品容器NBT标签中,调用此NBT标签的toObject方法,会有部分不被转换,内容会为键值:null,但可以使用NBT的方法读取数据

To Reproduce

调用任意物品容器(含有物品)的NBT的toObject方法,即可出现

Expected behavior

正常转换

Screenshots

https://www.123865.com/s/J9RhTd-iNSF3
https://github.com/user-attachments/assets/4e8d45f6-34a9-4dbc-a07a-c2c0b70b4b38

Platform

Win11

BDS Version

1.21.93-1.819+b7557d7

LeviLamina Version

LeviLamina-1.4.1

LegacyScriptEngine Version

0.13.1

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