From 8e34e038d665dfe222c0c1df610f72d199af198b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 26 May 2013 21:24:32 +1000 Subject: [PATCH] Remove chat event firing when we get a message from server to client, as Mojang has decided to completely break this in the next major Minecraft release. --- .../net/md_5/bungee/connection/DownstreamBridge.java | 12 ------------ 1 file changed, 12 deletions(-) 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 1379dd2c..1baf99f9 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 @@ -82,18 +82,6 @@ public class DownstreamBridge extends PacketHandler con.setSentPingTime( System.currentTimeMillis() ); } - @Override - public void handle(Packet3Chat chat) throws Exception - { - ChatEvent chatEvent = new ChatEvent( con.getServer(), con, chat.message ); - bungee.getPluginManager().callEvent( chatEvent ); - - if ( chatEvent.isCancelled() ) - { - throw new CancelSendSignal(); - } - } - @Override public void handle(PacketC9PlayerListItem playerList) throws Exception {