geforkt von Mirrors/Velocity
Fixed BungeeGuard support (#739)
Dieser Commit ist enthalten in:
Ursprung
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
|
// Throw an exception if the forwarding-secret file is empty and the proxy is using a
|
||||||
// forwarding mode that requires it.
|
// forwarding mode that requires it.
|
||||||
if (forwardingSecret.length == 0
|
if (forwardingSecret.length == 0
|
||||||
&& forwardingMode == PlayerInfoForwarding.MODERN
|
&& (forwardingMode == PlayerInfoForwarding.MODERN
|
||||||
|| forwardingMode == PlayerInfoForwarding.BUNGEEGUARD) {
|
|| forwardingMode == PlayerInfoForwarding.BUNGEEGUARD)) {
|
||||||
throw new RuntimeException("The forwarding-secret file must not be empty.");
|
throw new RuntimeException("The forwarding-secret file must not be empty.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren