LiteLDev / LegacyScriptEngine

A plugin engine for running LLSE plugins on LeviLamina
http://levimc.org/software/legacy-script-engine
GNU General Public License v3.0
47 stars 8 forks source link

[Bug]: data.getAllPlayerInfo() 无法使用 #131

Closed LAppleXGR358 closed 6 months ago

LAppleXGR358 commented 6 months ago

Describe the bug

data.getAllPlayerInfo() 获取不了数据

To Reproduce

在服务器内有人时运行 jsdebug logger.info(data.getAllPlayerInfo().length) 控制台输出

15:14:14.356 INFO [] 0
15:14:14.356 INFO [legacy-script-engine-quickjs] 1

Expected behavior

能够正常获取数据

Screenshots

No response

Platform

Windows 10

BDS Version

1.20.81

LeviLamina Version

0.12.3

LegacyScriptEngine Version

0.7.8

Additional context

No response

LAppleXGR358 commented 6 months ago

我扫了一眼配置文件,发现playerInfo里有个false,我的问题,建议写进文档里