mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-21 17:56:16 +01:00
I'm done now i swear
This commit is contained in:
parent
249b0a4fab
commit
7d9de9bf6e
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user