Hotfix DevCommand
Dieser Commit ist enthalten in:
Ursprung
4865c2f9a6
Commit
013330f18d
@ -53,7 +53,7 @@ public class DevCommand extends BasicCommand {
|
|||||||
sendToServer((ProxiedPlayer) sender, server[0], Integer.parseInt(server[1]));
|
sendToServer((ProxiedPlayer) sender, server[0], Integer.parseInt(server[1]));
|
||||||
} else {
|
} else {
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
send(devServer, (ProxiedPlayer) sender, s -> s.equalsIgnoreCase(((ProxiedPlayer) sender).getDisplayName()), () -> Message.send("DEV_UNKNOWN_SERVER", sender));
|
send(devServer, (ProxiedPlayer) sender, s -> s.equalsIgnoreCase(sender.getName()), () -> Message.send("DEV_UNKNOWN_SERVER", sender));
|
||||||
} else {
|
} else {
|
||||||
send(devServer, (ProxiedPlayer) sender, args[0]::equalsIgnoreCase, () -> Message.send("DEV_NO_SERVER", sender));
|
send(devServer, (ProxiedPlayer) sender, args[0]::equalsIgnoreCase, () -> Message.send("DEV_NO_SERVER", sender));
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren