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:
parent
d1950389cc
commit
8e34e038d6
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user