We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f70bde commit 1ecdca1Copy full SHA for 1ecdca1
src/legacy/api/DataAPI.cpp
@@ -746,9 +746,6 @@ Local<Value> DataClass::getAllPlayerInfo(const Arguments& args) {
746
try {
747
auto arr = Array::newArray();
748
auto level = ll::service::getLevel();
749
- ll::service::PlayerInfo::getInstance().forEach([](ll::service::PlayerInfo::PlayerInfoEntry& info) {
750
- return true;
751
- });
752
if (level.has_value()) {
753
level->forEachPlayer([&arr](Player& player) {
754
auto obj = Object::newObject();
0 commit comments