mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Change /enchant's default level from -1 to 1
This commit is contained in:
parent
ec83a5fff2
commit
41b2449cdd
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue