From 6fbdef5252f980ce900504a9892122945a8cd9f5 Mon Sep 17 00:00:00 2001 From: Jordan Date: Fri, 7 Jul 2023 17:36:02 +0100 Subject: [PATCH] feat: allow bracketless '%' pattern definition (#2322) --- .../extension/factory/parser/pattern/RichPatternParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/pattern/RichPatternParser.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/pattern/RichPatternParser.java index 3ebd84fa6..bf2027c9b 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/pattern/RichPatternParser.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/pattern/RichPatternParser.java @@ -117,7 +117,7 @@ public class RichPatternParser extends FaweParser { if (addBrackets) { value += "["; } - value += StringMan.join(entry.getValue(), " "); + value += StringMan.join(entry.getValue(), "]["); if (addBrackets) { value += "]"; }