mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 07:59:44 +00:00
Correct check on bulk sell permission.
This commit is contained in:
parent
c0800afeeb
commit
8485bd44f9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class Commandsell extends EssentialsCommand {
|
|||
|
||||
if (args[0].equalsIgnoreCase("hand") && !user.isAuthorized("essentials.sell.hand")) {
|
||||
throw new Exception(tl("sellHandPermission"));
|
||||
} else if (args[0].equalsIgnoreCase("inventory") || args[0].equalsIgnoreCase("invent") || args[0].equalsIgnoreCase("all") && !user.isAuthorized("essentials.sell.bulk")) {
|
||||
} else if ((args[0].equalsIgnoreCase("inventory") || args[0].equalsIgnoreCase("invent") || args[0].equalsIgnoreCase("all")) && !user.isAuthorized("essentials.sell.bulk")) {
|
||||
throw new Exception(tl("sellBulkPermission"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue