SteamWar/BungeeCore
Archiviert
13
2

Hotfix WhoisCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-06-16 22:05:39 +02:00
Ursprung cccba31c46
Commit 742bc92f53

Datei anzeigen

@ -43,7 +43,7 @@ public class WhoisCommand extends SWCommand {
super("whois", "bungeecore.teamchat"); super("whois", "bungeecore.teamchat");
} }
@Register("WHOIS_USAGE") @Register(description = "WHOIS_USAGE")
public void genericCommand(ProxiedPlayer player, @Mapper("player") String target, @OptionalValue("") @StaticValue({"-all", "-a", ""}) String displayAll) { public void genericCommand(ProxiedPlayer player, @Mapper("player") String target, @OptionalValue("") @StaticValue({"-all", "-a", ""}) String displayAll) {
SteamwarUser user = SteamwarUser.get(target); SteamwarUser user = SteamwarUser.get(target);
if (user == null) { if (user == null) {