forked from remote/MusicBot
Removed redundant code.
This commit is contained in:
parent
13d9fa87d8
commit
75abab2832
|
@ -43,10 +43,7 @@ public class ForceRemoveCmd extends MusicCommand {
|
|||
} else {
|
||||
try {
|
||||
target = Long.parseLong(args);
|
||||
} catch (NumberFormatException ignored) {
|
||||
event.replyError("You need to mention a user!");
|
||||
return;
|
||||
}
|
||||
} catch (NumberFormatException ignored) {}
|
||||
}
|
||||
if (target <= 0) {
|
||||
event.replyError("You need to mention a user!");
|
||||
|
|
Loading…
Reference in a new issue