From 46581093fcaf676f6237c879a19b969fa9818981 Mon Sep 17 00:00:00 2001 From: Zrips Date: Fri, 28 Dec 2018 17:03:00 +0200 Subject: [PATCH] We dont need this as this should be checking by sender not by target --- src/main/java/com/gamingmesh/jobs/commands/list/demote.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/demote.java b/src/main/java/com/gamingmesh/jobs/commands/list/demote.java index cb4c8d0b..aba93b7c 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/demote.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/demote.java @@ -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"));