Skip to content

Commit

Permalink
Fix compass command oddity, fixes #1388
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 10, 2016
1 parent 885ff1d commit e34985c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {

// Debug the execution

dB.report(scriptEntry, getName(), location.debug() + reset.debug());
dB.report(scriptEntry, getName(), (location != null ? location.debug() : "") + reset.debug());

if (reset.asBoolean()) {
Location bed = player.getBedSpawnLocation();
Expand Down

0 comments on commit e34985c

Please sign in to comment.