fix illegal argument exception
Dieser Commit ist enthalten in:
Ursprung
a39544abc6
Commit
184d157276
@ -68,7 +68,7 @@ public class WhoisCommand extends SWCommand {
|
|||||||
if (user == null) {
|
if (user == null) {
|
||||||
Message.send("UNKNOWN_PLAYER", player);
|
Message.send("UNKNOWN_PLAYER", player);
|
||||||
} else {
|
} else {
|
||||||
EnumSet<WhoisParameterTypes> set = EnumSet.copyOf(Arrays.asList(parameters));
|
EnumSet<WhoisParameterTypes> set = parameters.length == 0 ? EnumSet.noneOf(WhoisParameterTypes.class) : EnumSet.copyOf(Arrays.asList(parameters));
|
||||||
sendUserinfo(player, user, set);
|
sendUserinfo(player, user, set);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren