fix: fix GMLib_ServerAPI::removeFakeList

This commit is contained in:
zimuya4153
2025-04-20 15:09:26 +08:00
Unverified
parent 8863201207
commit 94deeb1555
+1 -1
View File
@@ -70,7 +70,7 @@ void Export_Legacy_GMLib_ServerAPI() {
}
);
RemoteCall::exportAs("GMLib_ServerAPI", "removeFakeList", [](const std::string& nameOrXuid) -> bool {
PlayerListAPI::resetListName(nameOrXuid);
PlayerListAPI::erase(nameOrXuid);
return true;
});
RemoteCall::exportAs("GMLib_ServerAPI", "removeAllFakeList", []() -> void { PlayerListAPI::clear(); });