Fixed issue with boosting command.

This commit is contained in:
Brianna 2019-10-03 10:46:57 -04:00
parent 5e364dc421
commit 34fe405312

View File

@ -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;
}