mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-12 16:50:31 +08:00
Fix #887
Velocity always handled ALL as an alias of ONLINE, so handle ONLINE the same way.
This commit is contained in:
parent
495b796816
commit
1ec77eb123
@ -269,7 +269,7 @@ public class BungeeCordMessageResponder {
|
||||
ByteBuf toForward = in.unwrap().copy();
|
||||
final ServerInfo currentUserServer = player.getCurrentServer()
|
||||
.map(ServerConnection::getServerInfo).orElse(null);
|
||||
if (target.equals("ALL")) {
|
||||
if (target.equals("ALL") || target.equals("ONLINE")) {
|
||||
try {
|
||||
for (RegisteredServer rs : proxy.getAllServers()) {
|
||||
if (!rs.getServerInfo().equals(currentUserServer)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user