Skip to content

[Bug]: pl.setExtraData() 后重载插件崩服 #300

@Hurry1027

Description

@Hurry1027

Describe the bug

pl.setExtraData()相关函数导致重载插件会崩服,
导致行为日志插件无法热重载

To Reproduce

mc.listen("onJoin", (player)=>{
    log("你好,世界!");
    player.setExtraData("test", "123");
});

玩家进服,控制台输入ll reload test 会崩服,quickjs插件会崩服,nodejs没测试。
去掉setExtraData后重载不会崩服。

Expected behavior

正常重载插件

Screenshots

No response

Platform

Windows 10

BDS Version

1.21.80

LeviLamina Version

1.3.1

LegacyScriptEngine Version

0.12.0

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