1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

We dont need this as this should be checking by sender not by target

This commit is contained in:
Zrips 2018-12-28 17:03:00 +02:00
parent 64b9b35e58
commit 46581093fc

View File

@ -27,9 +27,6 @@ public class demote implements Cmd {
return true;
}
if (!Jobs.hasPermission(jPlayer.getPlayer(), "jobs.command.demote", true))
return true;
Job job = Jobs.getJob(args[1]);
if (job == null) {
sender.sendMessage(Jobs.getLanguage().getMessage("general.error.job"));