Removed redundant code.
This commit is contained in:
@@ -43,10 +43,7 @@ public class ForceRemoveCmd extends MusicCommand {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
target = Long.parseLong(args);
|
target = Long.parseLong(args);
|
||||||
} catch (NumberFormatException ignored) {
|
} catch (NumberFormatException ignored) {}
|
||||||
event.replyError("You need to mention a user!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (target <= 0) {
|
if (target <= 0) {
|
||||||
event.replyError("You need to mention a user!");
|
event.replyError("You need to mention a user!");
|
||||||
|
|||||||
Reference in New Issue
Block a user