Add forward parameter to only forward to online servers [Adds #1120]
This commit is contained in:
parent
b544bb34cb
commit
d85400bc69
@ -258,6 +258,15 @@ public class DownstreamBridge extends PacketHandler
|
||||
server.sendData( "BungeeCord", payload );
|
||||
}
|
||||
}
|
||||
} else if ( target.equals( "ONLINE" ) )
|
||||
{
|
||||
for ( ServerInfo server : bungee.getServers().values() )
|
||||
{
|
||||
if ( server != con.getServer().getInfo() )
|
||||
{
|
||||
server.sendData( "BungeeCord", payload, false );
|
||||
}
|
||||
}
|
||||
} else
|
||||
{
|
||||
ServerInfo server = bungee.getServerInfo( target );
|
||||
|
Loading…
Reference in New Issue
Block a user