13
0
geforkt von Mirrors/Velocity
Velocity always handled ALL as an alias of ONLINE, so handle ONLINE the same way.
Dieser Commit ist enthalten in:
Andrew Steinborn 2022-12-11 23:29:57 -05:00
Ursprung 495b796816
Commit 1ec77eb123

Datei anzeigen

@ -269,7 +269,7 @@ public class BungeeCordMessageResponder {
ByteBuf toForward = in.unwrap().copy(); ByteBuf toForward = in.unwrap().copy();
final ServerInfo currentUserServer = player.getCurrentServer() final ServerInfo currentUserServer = player.getCurrentServer()
.map(ServerConnection::getServerInfo).orElse(null); .map(ServerConnection::getServerInfo).orElse(null);
if (target.equals("ALL")) { if (target.equals("ALL") || target.equals("ONLINE")) {
try { try {
for (RegisteredServer rs : proxy.getAllServers()) { for (RegisteredServer rs : proxy.getAllServers()) {
if (!rs.getServerInfo().equals(currentUserServer)) { if (!rs.getServerInfo().equals(currentUserServer)) {