1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-17 21:51:20 +01:00

fix for /jobs info [jobname] [action]

This commit is contained in:
Zrips 2016-02-10 13:47:16 +02:00
parent afa7d00939
commit 05f64f61ce
2 changed files with 2 additions and 2 deletions

View File

@ -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(" -> ");

View File

@ -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: