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:
parent
afa7d00939
commit
05f64f61ce
@ -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(" -> ");
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user