aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0523-Add-bypass-host-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0523-Add-bypass-host-check.patch')
-rw-r--r--patches/server/0523-Add-bypass-host-check.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0523-Add-bypass-host-check.patch b/patches/server/0523-Add-bypass-host-check.patch
index 8c40f13437..d6c893d808 100644
--- a/patches/server/0523-Add-bypass-host-check.patch
+++ b/patches/server/0523-Add-bypass-host-check.patch
@@ -8,7 +8,7 @@ Paper.bypassHostCheck
Seriously, fix your firewalls. -.-
diff --git a/src/main/java/net/minecraft/server/network/ServerHandshakePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerHandshakePacketListenerImpl.java
-index bcdb2cc4c735d939bdd0e9b7ec5246f51e57f299..6a33cb47c5dac403ad90ef95a56b99a6869e0459 100644
+index ffe3048d16809b177d2fb495a25a16ed78b50e6b..b5d8ef9dd24687b99f5cf547574351c359fb85ba 100644
--- a/src/main/java/net/minecraft/server/network/ServerHandshakePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerHandshakePacketListenerImpl.java
@@ -31,6 +31,7 @@ public class ServerHandshakePacketListenerImpl implements ServerHandshakePacketL
@@ -19,7 +19,7 @@ index bcdb2cc4c735d939bdd0e9b7ec5246f51e57f299..6a33cb47c5dac403ad90ef95a56b99a6
public ServerHandshakePacketListenerImpl(MinecraftServer server, Connection connection) {
this.server = server;
-@@ -159,7 +160,7 @@ public class ServerHandshakePacketListenerImpl implements ServerHandshakePacketL
+@@ -163,7 +164,7 @@ public class ServerHandshakePacketListenerImpl implements ServerHandshakePacketL
String[] split = packet.hostName().split("\00");
if (!handledByEvent && proxyLogicEnabled) { // Paper
// if (org.spigotmc.SpigotConfig.bungee) { // Paper - comment out, we check above!