From 32dd8b8e255272742a1da5ff4eb44187023b00de Mon Sep 17 00:00:00 2001 From: Alex 'mcmonkey' Goodwin Date: Sat, 15 Feb 2020 02:32:18 -0800 Subject: [PATCH] Brace deprecation notice shouldn't apply to /ex --- .../denizencore/scripts/commands/BracedCommand.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/denizenscript/denizencore/scripts/commands/BracedCommand.java b/src/main/java/com/denizenscript/denizencore/scripts/commands/BracedCommand.java index a4e68260..c9da1998 100644 --- a/src/main/java/com/denizenscript/denizencore/scripts/commands/BracedCommand.java +++ b/src/main/java/com/denizenscript/denizencore/scripts/commands/BracedCommand.java @@ -145,7 +145,9 @@ public static List getBracedCommands(ScriptEntry scriptEntry, boolea return null; } - Deprecations.oldBraceSyntax.warn(scriptEntry); + if (scriptEntry.getScript() != null) { // Ex command is temporarily allowed to bypass, to avoid annoying user testing + Deprecations.oldBraceSyntax.warn(scriptEntry); + } int tStart = -1; int tEnd = -1;