Add GetServer channel, see #145

This commit is contained in:
md_5 2013-03-12 11:43:37 +11:00
parent 59efec128d
commit 5dd3384b31

View File

@ -197,6 +197,11 @@ public class DownstreamBridge extends PacketHandler
target.sendMessage( in.readUTF() );
}
}
if ( subChannel.equals( "GetServer" ) )
{
out.writeUTF( "GetServer" );
out.writeUTF( server.getInfo().getName() );
}
// Check we haven't set out to null, and we have written data, if so reply back back along the BungeeCord channel
if ( out != null )