geforkt von Mirrors/Paper
FIX: CraftServer.getOfflinePlayers was not converting set->array well.
An incorrect method was being used to convert from Set<OfflinePlayer> to OfflinePlayer[]. Relates to BUKIT-404
Dieser Commit ist enthalten in:
Ursprung
bcdad9f837
Commit
483a619e8a
@ -938,6 +938,6 @@ public final class CraftServer implements Server {
|
|||||||
}
|
}
|
||||||
players.addAll(Arrays.asList(getOnlinePlayers()));
|
players.addAll(Arrays.asList(getOnlinePlayers()));
|
||||||
|
|
||||||
return (OfflinePlayer[]) players.toArray();
|
return players.toArray(new OfflinePlayer[players.size()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren