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.

This commit is contained in:
md_5 2013-05-26 21:24:32 +10:00
parent d1950389cc
commit 8e34e038d6

View File

@ -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
{