synchronized ( packetQueue )
{
Server server = ( players.isEmpty() ) ? null : players.iterator().next().getServer();
if ( server != null )
{
server.sendData( channel, data );
return true;
} else if ( queue )
{
packetQueue.add( new PluginMessage( channel, data, false ) );
}