mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 03:55:28 +01:00
Return correct default protocol, whoops!
This commit is contained in:
parent
033d3bcd4d
commit
e40be243de
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user