diff --git a/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/SidebarCommand.java b/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/SidebarCommand.java index 3a8090f23e..6e6cafae50 100644 --- a/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/SidebarCommand.java +++ b/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/SidebarCommand.java @@ -246,7 +246,7 @@ public void execute(ScriptEntry scriptEntry) { } if (scriptEntry.dbCallShouldDebug()) { - Debug.report(scriptEntry, getName(), action.debug() + debug + ArgumentHelper.debugObj("players", players.debug())); + Debug.report(scriptEntry, getName(), action.debug() + debug + ArgumentHelper.debugObj("players", players.debuggable())); } switch (Action.valueOf(action.asString())) { @@ -353,11 +353,11 @@ public void execute(ScriptEntry scriptEntry) { Debug.echoError("Invalid player!"); continue; } - if (scores == null || scores.size() == 0) { + if ((scores == null || scores.size() == 0) && perScores == null) { Debug.echoError("Missing or invalid 'scores' parameter."); return; } - if (value == null || value.size() != scores.size()) { + if ((value == null || value.size() != scores.size()) && perValue == null) { Debug.echoError("Missing or invalid 'values' parameter."); return; }