mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-04 23:37:49 +01:00
Lets check for possible NPE
This commit is contained in:
parent
6f4501ff05
commit
cb67b23c94
@ -140,7 +140,7 @@ public class editquests implements Cmd {
|
||||
RawMessage rm = new RawMessage();
|
||||
rm.add(Jobs.getLanguage().getMessage("command.editquests.help.list.objectiveAdd"),
|
||||
"&eAdd new", "jobs editquests add " + job.getName() + " " + quest.getQuestName()
|
||||
+ " " + o.getAction().getName());
|
||||
+ " " + (o == null ? "Unknown" : o.getAction().getName()));
|
||||
rm.show(sender);
|
||||
|
||||
Util.getQuestsEditorMap().remove(player.getUniqueId());
|
||||
|
Loading…
Reference in New Issue
Block a user