Skip to content

Commit

Permalink
Fix unnecessary server look up in default balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Sep 15, 2022
1 parent 38536ad commit 131d556
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public AdaptedServer getIdealServer(AdaptedPlayer player) {
selectednum = online;
continue;
}
if(selectednum > online && main.getQueueManager().findServer(sv.getName()).isJoinable(player)) {
if(selectednum > online && sv.isJoinable(player)) {
selected = sv;
selectednum = online;
}
Expand Down

0 comments on commit 131d556

Please sign in to comment.