Return correct default protocol, whoops!

This commit is contained in:
KennyTV 2018-10-03 10:12:13 +02:00
parent 033d3bcd4d
commit e40be243de

View File

@ -39,7 +39,7 @@ public class ProtocolDetectorService implements Runnable {
// Step 3. Use Default // Step 3. Use Default
Integer defaultProtocol = servers.get("default"); Integer defaultProtocol = servers.get("default");
if (defaultProtocol != null) { if (defaultProtocol != null) {
return detectedProtocol; return defaultProtocol;
} }
// Step 4: Use bungee lowest supported... *cries* // Step 4: Use bungee lowest supported... *cries*
return BungeeVersionProvider.getLowestSupportedVersion(); return BungeeVersionProvider.getLowestSupportedVersion();