diff --git a/src/main/java/net/aufdemrand/denizen/scripts/commands/player/CompassCommand.java b/src/main/java/net/aufdemrand/denizen/scripts/commands/player/CompassCommand.java index c79860733c..26faf5438a 100644 --- a/src/main/java/net/aufdemrand/denizen/scripts/commands/player/CompassCommand.java +++ b/src/main/java/net/aufdemrand/denizen/scripts/commands/player/CompassCommand.java @@ -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();