From 3b6419997c4dba260096ed564085829c3825d387 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 20 Apr 2024 13:57:31 +0100 Subject: [PATCH] Align default prevent proxy connection settings with the default config file This option generally creates a bunch of oddities in many setups, defaulting to false as per the default toml config, is probably the better option here --- .../com/velocitypowered/proxy/config/VelocityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java index f4a76919..0d5cc856 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java @@ -503,7 +503,7 @@ public class VelocityConfiguration implements ProxyConfig { final boolean forceKeyAuthentication = config.getOrElse("force-key-authentication", true); final boolean announceForge = config.getOrElse("announce-forge", true); final boolean preventClientProxyConnections = config.getOrElse( - "prevent-client-proxy-connections", true); + "prevent-client-proxy-connections", false); final boolean kickExisting = config.getOrElse("kick-existing-players", false); final boolean enablePlayerAddressLogging = config.getOrElse( "enable-player-address-logging", true);