From 5c257f60ea9ec002e407b2a4a8a7c6ede6bee5e7 Mon Sep 17 00:00:00 2001 From: Zeranny Date: Fri, 15 Mar 2024 15:20:39 +0000 Subject: [PATCH] Swap which getSuggestions is primary --- .../core/extension/factory/parser/RichParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/RichParser.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/RichParser.java index 4bfe5ffab..37c4697d3 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/RichParser.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/RichParser.java @@ -124,7 +124,7 @@ public abstract class RichParser extends InputParser implements AliasedPar * @return a stream of suggestions matching the given input for the argument at the given index. */ protected Stream getSuggestions(String argumentInput, int index) { - return Stream.empty(); + return getSuggestions(argumentInput, index, new ParserContext()); } /** @@ -136,7 +136,7 @@ public abstract class RichParser extends InputParser implements AliasedPar * @return a stream of suggestions matching the given input for the argument at the given index. */ protected Stream getSuggestions(String argumentInput, int index, ParserContext context) { - return getSuggestions(argumentInput, index); + return Stream.empty(); } /**