Skip to content

Commit

Permalink
Remove empty chat validation
Browse files Browse the repository at this point in the history
it has been a long time and we still have no idea why this exists
bar silencing some warning on certain backend versions.

Closes #465
Fixes #413
  • Loading branch information
electronicboy committed Apr 2, 2024
1 parent 51f7ed3 commit a9cb069
Show file tree
Hide file tree
Showing 46 changed files with 101 additions and 137 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 89741f79f340eefb555ec55efb0eab6a8d3c0ba9 Mon Sep 17 00:00:00 2001
From 578c03f455937272ca3acd2a7dac0bdbbd125412 Mon Sep 17 00:00:00 2001
From: Troy Frew <fuzzy_bot@arenaga.me>
Date: Wed, 29 Jun 2016 04:29:25 +0200
Subject: [PATCH] Add dynamic server addition/removal api.
Expand Down Expand Up @@ -311,5 +311,5 @@ index fea0ec61..37abb3c4 100644
+ // Waterfall end
}
--
2.43.0.windows.1
2.44.0

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 3c8fdc59280303fcca5b51c9b78fc02a1886e716 Mon Sep 17 00:00:00 2001
From 8808208cba06c28cb25e93de6752e7a0fea63094 Mon Sep 17 00:00:00 2001
From: Mark Vainomaa <mikroskeem@mikroskeem.eu>
Date: Sun, 14 Apr 2019 19:15:00 +0300
Subject: [PATCH] Add callEvent() shortcut to Event
Expand Down Expand Up @@ -28,5 +28,5 @@ index e2e01ecb..25ec1bd8 100644
+ // Waterfall end
}
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4035759e203567e189c3a3f4dee618f2fb2b8290 Mon Sep 17 00:00:00 2001
From c948a81d4f6604ea281baa2f9a96ac9366ea9e44 Mon Sep 17 00:00:00 2001
From: Nathan Poirier <nathan@poirier.io>
Date: Tue, 28 Jun 2016 23:00:49 -0500
Subject: [PATCH] Improve ServerKickEvent
Expand Down Expand Up @@ -68,7 +68,7 @@ index 3f9efaa8..5d2597ad 100644
/**
* @return the kick reason
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
index e38f52d5..031bf2b1 100644
index e670a57a..307a417b 100644
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
@@ -439,7 +439,7 @@ public class ServerConnector extends PacketHandler
Expand All @@ -81,7 +81,7 @@ index e38f52d5..031bf2b1 100644
{
// Pre cancel the event if we are going to try another server
diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
index 976c8e26..7e416a6d 100644
index cd3ed518..d4036c5d 100644
--- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
+++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
@@ -98,16 +98,19 @@ public class DownstreamBridge extends PacketHandler
Expand Down Expand Up @@ -147,5 +147,5 @@ index 976c8e26..7e416a6d 100644
{
con.connectNow( event.getCancelServer(), ServerConnectEvent.Reason.KICK_REDIRECT );
--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a6120b6e56a8930d336561c0254afae4a66a893a Mon Sep 17 00:00:00 2001
From 841109177468b8cfec9a73b5aa0e3f2bab3e38a3 Mon Sep 17 00:00:00 2001
From: Troy Frew <fuzzy_bot@arenaga.me>
Date: Wed, 29 Jun 2016 13:56:57 -0500
Subject: [PATCH] Configurable server version in ping response
Expand Down Expand Up @@ -79,5 +79,5 @@ index 5a3acccf..7e2688ee 100644

@Override
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 5b69d2ace775a1dcbaa90faecdd258efd3f8ac87 Mon Sep 17 00:00:00 2001
From c489acf737b0340bc283c49f39517a14736a58a1 Mon Sep 17 00:00:00 2001
From: Ichbinjoe <joe@ibj.io>
Date: Sat, 16 Jul 2016 20:44:01 -0400
Subject: [PATCH] Add timeout variant to connect methods
Expand Down Expand Up @@ -109,5 +109,5 @@ index c8d5648c..7e36c0eb 100644
{
disconnect( bungee.getTranslation( "fallback_kick", connectionFailMessage( future.cause() ) ) );
--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4af8c13703df60875533f0973f228ed8663e97fe Mon Sep 17 00:00:00 2001
From 2fd518610d983a1b9a721c77588cbbedf059a507 Mon Sep 17 00:00:00 2001
From: minecrafter <unknown@unknown>
Date: Sun, 3 Jul 2016 04:03:21 -0400
Subject: [PATCH] Proxy query event
Expand Down Expand Up @@ -211,5 +211,5 @@ index 9b81197f..ac99d02c 100644
} else
{
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 97625eccc25929d5d7d83f56648cebf15949af9c Mon Sep 17 00:00:00 2001
From 26e5efd5327231309bb9dcfc080e59baec9d6767 Mon Sep 17 00:00:00 2001
From: Techcable <Techcable@techcable.net>
Date: Thu, 4 Aug 2016 19:30:49 -0700
Subject: [PATCH] Dump the raw hex of a packet on a decoding error
Expand Down Expand Up @@ -53,5 +53,5 @@ index 250e7620..2207c3ff 100644
{
if ( slice != null )
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 26a6b2a630825182a7712505f7212c1bf397d446 Mon Sep 17 00:00:00 2001
From bf5145136df8e794c207bb4c8c49c02dbf26eb6d Mon Sep 17 00:00:00 2001
From: Aaron Hill <aa1ronham@gmail.com>
Date: Thu, 15 Sep 2016 22:38:37 +0200
Subject: [PATCH] Fix potion race condition on Forge 1.8.9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 8710865be33599b4d0212dcedd6587a601ac6d9d Mon Sep 17 00:00:00 2001
From 2bf7abb9ebc40d15e934aa076b27cbf421e5278e Mon Sep 17 00:00:00 2001
From: Tux <write@imaginarycode.com>
Date: Wed, 21 Dec 2016 03:13:03 -0500
Subject: [PATCH] Optionally use async Netty DNS resolver
Expand All @@ -24,7 +24,7 @@ index 749059ab..6141128b 100644

/**
diff --git a/proxy/pom.xml b/proxy/pom.xml
index fe1506e4..18a5c526 100644
index be212472..1d2b4ec9 100644
--- a/proxy/pom.xml
+++ b/proxy/pom.xml
@@ -34,6 +34,18 @@
Expand Down Expand Up @@ -175,5 +175,5 @@ index e0c52f21..37337429 100644
+ // Waterfall End
}
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From fde062d7618ef25c070e9c58ddc83b122fb528ae Mon Sep 17 00:00:00 2001
From 327b543e487371de8d71f63218e9abdbb98f64d1 Mon Sep 17 00:00:00 2001
From: Jamie Mansfield <dev@jamierocks.uk>
Date: Sat, 10 Jun 2017 20:56:02 +0100
Subject: [PATCH] Improve outdated build message
Expand Down Expand Up @@ -26,5 +26,5 @@ index 39fc55f9..c81a4430 100644
}

--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d6f4754d7bbbc92d84ccce081c3a62318a445ae4 Mon Sep 17 00:00:00 2001
From 41dec9006eb4326433c948bfbdb271e353d066b2 Mon Sep 17 00:00:00 2001
From: Daniel Naylor <git@drnaylor.co.uk>
Date: Mon, 17 Jul 2017 20:24:17 +0100
Subject: [PATCH] Fix some forge plugin message packets not being forwarded
Expand Down Expand Up @@ -55,5 +55,5 @@ index 77d18e6d..d254b84e 100644
synchronized ( packetQueue )
{
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
From a7fd6d9b2d176e4f7f9e1c226e1e6e06103e20b8 Mon Sep 17 00:00:00 2001
From 96ff42638e839e92b966aaa95a50f8ee81cd16ea Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Fri, 22 Sep 2017 12:46:47 +0200
Subject: [PATCH] Use Log4j2 for logging and TerminalConsoleAppender for
console


diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml
index 348ac8ef..187c2138 100644
index 15546f07..5182b664 100644
--- a/bootstrap/pom.xml
+++ b/bootstrap/pom.xml
@@ -49,6 +49,9 @@
Expand Down Expand Up @@ -233,7 +233,7 @@ index 00000000..cfd039cd
+ </Loggers>
+</Configuration>
diff --git a/pom.xml b/pom.xml
index 18b596f2..c31408a8 100644
index 87ab1b76..f8491614 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,12 +48,13 @@
Expand Down Expand Up @@ -1629,5 +1629,5 @@ index 21a48df6..00000000
-
-}
--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 1761a7f440d7e4fab7ad1dcda8117fe27eed1a1c Mon Sep 17 00:00:00 2001
From eb16c1d6d89af2880d5f990ff91c661d4990fcf1 Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Fri, 22 Sep 2017 13:07:31 +0200
Subject: [PATCH] Handle plugin prefixes using Log4J
Expand Down Expand Up @@ -45,5 +45,5 @@ index cfd039cd..8e49e002 100644
<TimeBasedTriggeringPolicy />
<OnStartupTriggeringPolicy />
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From efedb4d256c3adada74d8ff5af2434c11e25840b Mon Sep 17 00:00:00 2001
From 744e3eab49b9499e6862219c0e051bccf115e03a Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Fri, 22 Sep 2017 13:15:09 +0200
Subject: [PATCH] Allow plugins to use SLF4J for logging
Expand All @@ -23,7 +23,7 @@ index 9660234d..3d1e9a3a 100644
* Called when the plugin has just been loaded. Most of the proxy will not
* be initialized, so only use it for registering
diff --git a/log4j/pom.xml b/log4j/pom.xml
index f9a169cc..6d20191e 100644
index 4bb98d5a..f9bdf71f 100644
--- a/log4j/pom.xml
+++ b/log4j/pom.xml
@@ -38,6 +38,24 @@
Expand Down Expand Up @@ -52,5 +52,5 @@ index f9a169cc..6d20191e 100644
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 2dd371eeceaa3d8fe8adf4b1041cf31890042370 Mon Sep 17 00:00:00 2001
From f7d596841b8aff48baf598155d80ec2da93a7f3f Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Sun, 24 Sep 2017 12:06:49 +0200
Subject: [PATCH] Add Log4j configuration that replicates the old BungeeCord
Expand Down Expand Up @@ -47,5 +47,5 @@ index 00000000..6e9c09c5
+ </Loggers>
+</Configuration>
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 10d0cd9245b3f75c26efd0b594ec019cb95876d0 Mon Sep 17 00:00:00 2001
From 901eb492361fe718242f5b038f80c06a7f1b01b2 Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Tue, 26 Sep 2017 18:59:37 +0200
Subject: [PATCH] Add console command completion
Expand Down Expand Up @@ -102,5 +102,5 @@ index 765d24bc..6cec0b5a 100644
}

--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From f5bfae46f8cd47ff456069b21862f6efad233421 Mon Sep 17 00:00:00 2001
From 6568f09ce8c2d9ad4743de43363784c40c3bce11 Mon Sep 17 00:00:00 2001
From: phenomax <phenomax@revayd.net>
Date: Thu, 10 Aug 2017 18:41:17 +0200
Subject: [PATCH] Providing access to the player's LoginResult on LoginEvent
Expand Down Expand Up @@ -64,5 +64,5 @@ index b7dd5fe3..5fd26bf1 100644

private void finish2()
--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 00cda9eb01af461e5569795a0c93db9e6cb565a0 Mon Sep 17 00:00:00 2001
From a3bcb041e962b0aa7a546f475a52fb12ab6403f4 Mon Sep 17 00:00:00 2001
From: Gabriele C <sgdc3.mail@gmail.com>
Date: Thu, 8 Feb 2018 19:10:52 +0100
Subject: [PATCH] Optionally log InitialHandler connections
Expand Down Expand Up @@ -77,5 +77,5 @@ index 5fd26bf1..ccc80506 100644
ch.setProtocol( Protocol.LOGIN );

--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 1c86494fe0900cb9dd18d095d8d79c2532349d59 Mon Sep 17 00:00:00 2001
From 91929d2d6f6d32b63dd65b38fa1f1dd8ba39d55a Mon Sep 17 00:00:00 2001
From: Jamie Mansfield <dev@jamierocks.uk>
Date: Mon, 28 May 2018 21:43:55 +0100
Subject: [PATCH] Forge is a first class citizen
Expand Down Expand Up @@ -32,5 +32,5 @@ index 37abb3c4..a468c5c4 100644
@Synchronized("serversLock") // Waterfall
public void load()
--
2.43.0.windows.1
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 075bc35b82064130e9b8b5919e62eb05c74fc778 Mon Sep 17 00:00:00 2001
From 49038909ac940a1e6ccda7dd8d71fedf71f3bdb9 Mon Sep 17 00:00:00 2001
From: Shane Freeder <theboyetronic@gmail.com>
Date: Fri, 12 Oct 2018 14:28:52 +0100
Subject: [PATCH] Ignore empty packets
Expand Down Expand Up @@ -38,5 +38,5 @@ index 277e70e8..cf7dea17 100644
throw new CorruptedFrameException( "Empty Packet!" );
}
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 145c6a12317d0d9ec49a7902a461de1a178632f5 Mon Sep 17 00:00:00 2001
From 3168598e19fb93e789d66b9434815a8121b59b14 Mon Sep 17 00:00:00 2001
From: creeper123123321 <creeper123123321@gmail.com>
Date: Thu, 17 Jan 2019 03:25:59 +0000
Subject: [PATCH] Don't use a bytebuf for packet decoding
Expand Down Expand Up @@ -66,5 +66,5 @@ index cf7dea17..3a802ca4 100644
}
}
--
2.43.0
2.44.0

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a43f0b8886740a47f470609a8325528f2896739a Mon Sep 17 00:00:00 2001
From 205d40bd64875c6ae94ce8c9e9c66ddfc13c6089 Mon Sep 17 00:00:00 2001
From: Shane Freeder <theboyetronic@gmail.com>
Date: Mon, 14 Jan 2019 03:35:21 +0000
Subject: [PATCH] Provide an option to disable entity metadata rewriting
Expand Down Expand Up @@ -57,7 +57,7 @@ index 4ff8da6d..e860214f 100644
+ }
}
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
index 031bf2b1..5fc9324e 100644
index 307a417b..43d13e36 100644
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
@@ -264,7 +264,8 @@ public class ServerConnector extends PacketHandler
Expand Down Expand Up @@ -137,7 +137,7 @@ index 86223e17..ee527938 100644
+ // Waterfall end
}
diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
index 8a10b057..249c3f46 100644
index ad9fc042..6ed25f82 100644
--- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
+++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
@@ -757,6 +757,7 @@ public class DownstreamBridge extends PacketHandler
Expand Down Expand Up @@ -225,5 +225,5 @@ index 00000000..cb81d1dd
+// Waterfall end
\ No newline at end of file
--
2.43.0.windows.1
2.44.0

Loading

0 comments on commit a9cb069

Please sign in to comment.