mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-09-29 07:07:29 +02:00
Fixed issue with boosting command.
This commit is contained in:
parent
5e364dc421
commit
34fe405312
@ -28,7 +28,7 @@ public class CommandBoost extends AbstractCommand {
|
||||
return ReturnType.SYNTAX_ERROR;
|
||||
}
|
||||
if (!Methods.isInt(args[1])) {
|
||||
instance.getLocale().newMessage("&6" + args[2] + " &7is not a number...").sendPrefixedMessage(sender);
|
||||
instance.getLocale().newMessage("&6" + args[1] + " &7is not a number...").sendPrefixedMessage(sender);
|
||||
return ReturnType.SYNTAX_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user