I'm done now i swear

This commit is contained in:
ME1312 2022-03-19 14:48:16 -04:00
parent 249b0a4fab
commit 7d9de9bf6e
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8

View File

@ -314,15 +314,14 @@ public class SubSigns implements Listener {
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);
}
}