mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
fix bug
This commit is contained in:
parent
191e7a4684
commit
a7e22b7f23
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user