Archiviert
1
0

Hotfix DevCommand

Dieser Commit ist enthalten in:
yoyosource 2021-08-24 14:23:51 +02:00
Ursprung 4865c2f9a6
Commit 013330f18d

Datei anzeigen

@ -53,7 +53,7 @@ public class DevCommand extends BasicCommand {
sendToServer((ProxiedPlayer) sender, server[0], Integer.parseInt(server[1]));
} else {
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 {
send(devServer, (ProxiedPlayer) sender, args[0]::equalsIgnoreCase, () -> Message.send("DEV_NO_SERVER", sender));
}