mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-23 15:49:19 +08:00
Fixed BungeeGuard support (#739)
This commit is contained in:
parent
64bfa285fe
commit
74edac9642
@ -514,8 +514,8 @@ public class VelocityConfiguration implements ProxyConfig {
|
||||
// Throw an exception if the forwarding-secret file is empty and the proxy is using a
|
||||
// forwarding mode that requires it.
|
||||
if (forwardingSecret.length == 0
|
||||
&& forwardingMode == PlayerInfoForwarding.MODERN
|
||||
|| forwardingMode == PlayerInfoForwarding.BUNGEEGUARD) {
|
||||
&& (forwardingMode == PlayerInfoForwarding.MODERN
|
||||
|| forwardingMode == PlayerInfoForwarding.BUNGEEGUARD)) {
|
||||
throw new RuntimeException("The forwarding-secret file must not be empty.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user