Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reinstate patch to prevent Kick during Handshake
Remove redundant patch from fire-pit
- Loading branch information
1 parent
3a62539
commit cbe6a1b
Showing
10 changed files
with
35 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
BungeeCord-Patches/0033-Don-t-send-KICK-packets-while-in-HANDSHAKE-state.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From b3e9c9b6ba4a0bba0e697782a5412499909216dd Mon Sep 17 00:00:00 2001 | ||
From: Techcable <Techcable@techcable.net> | ||
Date: Mon, 6 Jun 2016 13:36:10 -0600 | ||
Subject: [PATCH] Don't send KICK packets while in HANDSHAKE state | ||
|
||
|
||
diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java | ||
index bbad8dd..6ba098a 100644 | ||
--- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java | ||
+++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java | ||
@@ -551,7 +551,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection | ||
@Override | ||
public void run() | ||
{ | ||
- if ( thisState != State.STATUS && thisState != State.PING ) | ||
+ if ( thisState != State.STATUS && thisState != State.PING && thisState != State.HANDSHAKE ) // Waterfall: Don't kick during handshake | ||
{ | ||
unsafe().sendPacket( new Kick( ComponentSerializer.toString( reason ) ) ); | ||
} | ||
-- | ||
2.10.0 | ||
|
2 changes: 1 addition & 1 deletion
2
...atches/0033-Improve-ServerKickEvent.patch → ...atches/0034-Improve-ServerKickEvent.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ble-server-version-in-ping-response.patch → ...ble-server-version-in-ping-response.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Cord-Patches/0036-Proxy-query-event.patch → ...Cord-Patches/0037-Proxy-query-event.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hex-of-a-packet-on-a-decoding-error.patch → ...hex-of-a-packet-on-a-decoding-error.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
227 changes: 0 additions & 227 deletions
227
fire-pit/0026-Improve-connection-closing-fixing-the-kick-delay.patch
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
fire-pit/0033-Don-t-send-KICK-packets-while-in-HANDSHAKE-state.patch
This file was deleted.
Oops, something went wrong.