Skip to content

Commit

Permalink
Fix npe in ListenCommand caused by debug report
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeebiss committed Aug 31, 2013
1 parent 3c2aeb9 commit 4958e79
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -112,7 +112,7 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {
Element id = scriptEntry.getElement("id");
dScript finish_script = (dScript) scriptEntry.getObject("finish_script");

dB.report(getName(), action.debug() + type.debug()
dB.report(getName(), action.debug() + (type != null ? type.debug() : "")
+ id.debug() + (finish_script != null ? finish_script.debug() : ""));

List<aH.Argument> arguments = (ArrayList<aH.Argument>) scriptEntry.getObject("args");
Expand Down

0 comments on commit 4958e79

Please sign in to comment.