mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
We dont need this as this should be checking by sender not by target
This commit is contained in:
parent
64b9b35e58
commit
46581093fc
@ -27,9 +27,6 @@ public class demote implements Cmd {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Jobs.hasPermission(jPlayer.getPlayer(), "jobs.command.demote", true))
|
|
||||||
return true;
|
|
||||||
|
|
||||||
Job job = Jobs.getJob(args[1]);
|
Job job = Jobs.getJob(args[1]);
|
||||||
if (job == null) {
|
if (job == null) {
|
||||||
sender.sendMessage(Jobs.getLanguage().getMessage("general.error.job"));
|
sender.sendMessage(Jobs.getLanguage().getMessage("general.error.job"));
|
||||||
|
Loading…
Reference in New Issue
Block a user