File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/main/java/fr/pickaria/pterodactylpoweraction/config Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66}
77
88group = ' fr.pickaria'
9- version = ' 1.4-SNAPSHOT '
9+ version = ' 1.4.1 '
1010
1111repositories {
1212 mavenCentral()
Original file line number Diff line number Diff line change 44import com .velocitypowered .api .proxy .server .RegisteredServer ;
55import fr .pickaria .pterodactylpoweraction .APIType ;
66import fr .pickaria .pterodactylpoweraction .Configuration ;
7- import fr .pickaria .pterodactylpoweraction .PingUtils ;
87import org .jetbrains .annotations .NotNull ;
98import org .slf4j .Logger ;
109import org .yaml .snakeyaml .Yaml ;
@@ -142,11 +141,7 @@ public boolean validateConfig(ProxyServer proxy) {
142141 Optional <RegisteredServer > registeredWaitingServer = proxy .getServer (waitingServerName );
143142
144143 if (registeredWaitingServer .isEmpty ()) {
145- logger .error ("Waiting server '{}' is not configured in 'velocity.toml'." , waitingServerName );
146- isValid = false ;
147- } else if (!PingUtils .isReachable (registeredWaitingServer .get ())) {
148- logger .error ("Waiting server '{}' is not reachable." , waitingServerName );
149- isValid = false ;
144+ logger .warn ("Waiting server '{}' is not configured in 'velocity.toml'." , waitingServerName );
150145 }
151146
152147 // Warn if waiting server is misconfigured in the plugin's own config
You can’t perform that action at this time.
0 commit comments