Skip to content

Commit

Permalink
I'm done now i swear
Browse files Browse the repository at this point in the history
  • Loading branch information
ME1312 committed Mar 19, 2022
1 parent 249b0a4 commit 7d9de9b
Showing 1 changed file with 4 additions and 5 deletions.
Expand Up @@ -314,15 +314,14 @@ public void interact(PlayerInteractEvent e) {
if (incoming != Text.STOPPING) {
if (incoming == Text.OFFLINE) {
SubServer subserver = (SubServer) server;
if (!(subserver.isEnabled() && subserver.isAvailable() && subserver.getCurrentIncompatibilities().size() == 0)) continue;
if (!subserver.isEnabled() || !subserver.isAvailable() || subserver.getCurrentIncompatibilities().size() != 0) continue;
}

if (incoming.priority > state.priority) {
selected.clear();
state = incoming;
}

if (incoming == state) {
selected.clear();
selected.add(server);
} else if (incoming == state) {
selected.add(server);
}
}
Expand Down

0 comments on commit 7d9de9b

Please sign in to comment.