diff --git a/src/main/java/com/gamingmesh/jobs/Jobs.java b/src/main/java/com/gamingmesh/jobs/Jobs.java index 51a3f4df..5f9d7111 100644 --- a/src/main/java/com/gamingmesh/jobs/Jobs.java +++ b/src/main/java/com/gamingmesh/jobs/Jobs.java @@ -477,6 +477,8 @@ public class Jobs extends JavaPlugin { for (Job job : jobs) { if (job.getName().equalsIgnoreCase(jobName)) return job; + if (job.getJobKeyName().equalsIgnoreCase(jobName)) + return job; } return null; }