Skip to content

Commit

Permalink
changed label for lobby servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Katzen48 committed Dec 26, 2021
1 parent 397a9ff commit 58651f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void onEnable() {
false));

String tryServer = pod.getMetadata().getLabels()
.getOrDefault("net.chrotos.ingress.minecraft/lobby-server", "false");
.getOrDefault("net.chrotos.ingress.minecraft/lobby", "false");
if (tryServer.equalsIgnoreCase("true")) {
getProxy().getConfigurationAdapter().getListeners().forEach(listenerInfo -> {
listenerInfo.getServerPriority().add(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
}

String tryServer = pod.getMetadata().getLabels()
.getOrDefault("net.chrotos.ingress.minecraft/lobby-server", "false");
.getOrDefault("net.chrotos.ingress.minecraft/lobby", "false");
if (tryServer.equalsIgnoreCase("true")) {
proxyServer.getConfiguration().getAttemptConnectionOrder().add(name);
}
Expand Down

0 comments on commit 58651f9

Please sign in to comment.