From e46bc343e44a733c187a0109b19544f55cc7cde3 Mon Sep 17 00:00:00 2001 From: Brokkonaut Date: Wed, 8 Jun 2022 17:44:08 +1000 Subject: [PATCH] #3319: Do not forward cancelled messages or handled commands --- .../main/java/net/md_5/bungee/connection/UpstreamBridge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java index bb3faf5dd..5f4a2d455 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java @@ -190,7 +190,7 @@ public class UpstreamBridge extends PacketHandler return message; } } - return null; + throw CancelSendSignal.INSTANCE; } @Override