From 05f64f61ce137ef4c139393fd966d0a53c54a8ed Mon Sep 17 00:00:00 2001 From: Zrips Date: Wed, 10 Feb 2016 13:47:16 +0200 Subject: [PATCH] fix for /jobs info [jobname] [action] --- com/gamingmesh/jobs/commands/JobsCommands.java | 2 +- plugin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/com/gamingmesh/jobs/commands/JobsCommands.java b/com/gamingmesh/jobs/commands/JobsCommands.java index e1769c94..321137e4 100644 --- a/com/gamingmesh/jobs/commands/JobsCommands.java +++ b/com/gamingmesh/jobs/commands/JobsCommands.java @@ -1688,7 +1688,7 @@ public class JobsCommands implements CommandExecutor { message.append(" "); message.append(Language.getMessage("command.info.help.material").replace("%material%", materialName)); - if (!info.isInLevelRange(prog.getLevel())) + if (prog!= null && !info.isInLevelRange(prog.getLevel())) message.append(org.bukkit.ChatColor.RED + " -> "); else message.append(" -> "); diff --git a/plugin.yml b/plugin.yml index ce879550..999084d7 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,7 +1,7 @@ name: Jobs description: Jobs Plugin for the BukkitAPI main: com.gamingmesh.jobs.JobsPlugin -version: 2.62.0 +version: 2.62.1 author: phrstbrn softdepend: [Vault, CoreProtect, MythicMobs, McMMO] commands: