1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

Fixed typo in the command logs for other permission (#1079)

This commit is contained in:
Zachary Moroney 2021-02-09 17:50:50 +11:00 committed by GitHub
parent 5d90a00ea2
commit cfd7f251ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ public class log implements Cmd {
if (args.length == 0)
JPlayer = Jobs.getPlayerManager().getJobsPlayer((Player) sender);
else if (args.length == 1) {
if (!Jobs.hasPermission(sender, "jobs.commands.log.others", true))
if (!Jobs.hasPermission(sender, "jobs.command.log.others", true))
return true;
JPlayer = Jobs.getPlayerManager().getJobsPlayer(args[0]);