LegacyScriptEngine
LegacyScriptEngine copied to clipboard
[Bug]: 部分计分板api无法调用
Describe the bug
文档内提到的这些计分板api尚未完善,因此无法获取与操作离线玩家计分项:
获取分数 mc.getPlayerScore(uuid, name)
设置分数 mc.setPlayerScore(uuid, name, value)
增加分数 mc.addPlayerScore(uuid, name, value)
减少分数 mc.reducePlayerScore(uuid, name, value)
移除分数 mc.deletePlayerScore(uuid, name)
https://github.com/LiteLDev/LegacyScriptEngine/pull/60 有修复一部分api,希望缺失的也能补充
To Reproduce
调用上述api
Expected behavior
正常返回玩家分数,可查询离线玩家
Screenshots
No response
Platform
Windows 10
BDS Version
1.20.72
LeviLamina Version
0.10.2
LegacyScriptEngine Version
0.5.2
Additional context
No response