*register channels. This fixes plugins being broke

This commit is contained in:
md_5 2013-05-04 10:20:53 +10:00
parent 5eb7a6eba7
commit 904a1bfaa3

View File

@ -103,6 +103,7 @@ public class ServerConnector extends PacketHandler
ServerConnectedEvent event = new ServerConnectedEvent( user, server ); ServerConnectedEvent event = new ServerConnectedEvent( user, server );
bungee.getPluginManager().callEvent( event ); bungee.getPluginManager().callEvent( event );
ch.write( BungeeCord.getInstance().registerChannels() );
Queue<DefinedPacket> packetQueue = target.getPacketQueue(); Queue<DefinedPacket> packetQueue = target.getPacketQueue();
synchronized ( packetQueue ) synchronized ( packetQueue )
{ {