Remove duplicate function and fix stackoverflow issue

This commit is contained in:
Melledy
2022-04-19 04:13:38 -07:00
parent 06a50365d1
commit aedfb59831
2 changed files with 1 additions and 10 deletions

View File

@@ -118,7 +118,7 @@ public final class GameServer extends MihoyoKcpServer {
}
// Get from online players
GenshinPlayer player = this.getPlayerByUid(id);
GenshinPlayer player = this.getPlayers().get(id);
if (!allowOfflinePlayers) {
return player;