Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Fix #887
Velocity always handled ALL as an alias of ONLINE, so handle ONLINE the same way.
Dieser Commit ist enthalten in:
Ursprung
495b796816
Commit
1ec77eb123
@ -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)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren