1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 15:03:36 +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; 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"));