Change /enchant's default level from -1 to 1

This commit is contained in:
md678685 2018-11-19 21:11:25 +00:00
parent ec83a5fff2
commit 41b2449cdd

View File

@ -46,7 +46,7 @@ public class Commandenchant extends EssentialsCommand {
throw new NotEnoughArgumentsException(tl("enchantments", StringUtil.joinList(enchantmentslist.toArray())));
}
int level = -1;
int level = 1;
if (args.length > 1) {
try {
level = Integer.parseInt(args[1]);