GroupMountain/GMLIB

[Bug]: PAPI变量的server_max_players问题

Closed this issue · 0 comments

Describe the bug

无论怎么获取都是0

To Reproduce

控制台输入
jsdebug require('./GMLIB-LegacyRemoteCallApi/lib/BEPlaceholderAPI-JS').PAPI.translateString('服务器可存在的最大玩家数:%server_max_players%');
返回的内容无论如何都是服务器可存在的最大玩家数:0

Expected behavior

修复这个bug

Screenshots

image

Platform

Windows 10

BDS Version

1.20.81-1.671+a9081c5

LeviLamina Version

0.12.3+032fa4e52

Version

0.12.5

Additional context

No response