Skip to content

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

Closed

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

Activity

  1. xiaoqch commented on Jul 6, 2025

    @xiaoqch
    Contributor

    api 错了,是pl.delExtraData

  2. changed the title [-][Bug]: pl.removeExtraData() 重载插件崩服[/-] [+][Bug]: pl.setExtraData() 后重载插件崩服[/+] on Jul 6, 2025
  3. Hurry1027 commented on Jul 6, 2025

    @Hurry1027
    Author

    api 错了,是pl.delExtraData

    已修正复现代码,仍会崩服。

  4. added a commit that references this issue on Jul 6, 2025
  5. xiaoqch commented on Jul 6, 2025

    @xiaoqch
    Contributor

    api 错了,是pl.delExtraData

    已修正复现代码,仍会崩服。

    已修复

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