mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 01:27:40 +01:00
Change /enchant's default level from -1 to 1
This commit is contained in:
parent
ec83a5fff2
commit
41b2449cdd
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user