Skip to content

Commit

Permalink
Temp. fix to NPE in FOLLOW command.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Jul 16, 2013
1 parent db1909c commit 219c591
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {

// Report to dB
dB.report(getName(),
aH.debugObj("Player", scriptEntry.getPlayer().getName())
(scriptEntry.getPlayer() != null ? scriptEntry.getPlayer().debug() : "")
+ (stop == null ? aH.debugObj("Action", "FOLLOW")
: aH.debugObj("Action", "STOP"))
+ (lead != null ? aH.debugObj("Lead", lead.toString()) : "" ));
Expand Down

0 comments on commit 219c591

Please sign in to comment.