This commit is contained in:
ZXMushroom63 2025-03-17 19:49:03 +08:00
parent 191e7a4684
commit a7e22b7f23

View File

@ -179,6 +179,9 @@
var host = null;
ModAPI.server.getRef().$worldServers.data.forEach((world) => {
host ||= world.$playerEntities.$array1.data.find((player) => {
if (!player) {
return;
}
var nameKey = ModAPI.util.getNearestProperty(
player.$gameProfile,
"$name"