From d1b50c3db4da2714597c19bcb19644a37275fe39 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Sat, 25 Jul 2020 13:07:59 -0400 Subject: [PATCH] updated parse tab completer to call method inversely --- .../clip/placeholderapi/commands/impl/local/CommandParse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java index 5190a26..4b6ac15 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java @@ -147,7 +147,7 @@ public final class CommandParse extends PlaceholderCommand private void completeParseSingular(@NotNull final CommandSender sender, @NotNull @Unmodifiable final List params, @NotNull final List suggestions) { - if (sender instanceof Player && (params.isEmpty() || (params.size() == 1 && params.get(0).toLowerCase().startsWith("m")))) + if (sender instanceof Player && (params.isEmpty() || (params.size() == 1 && "me".startsWith(params.get(0).toLowerCase())))) { suggestions.add("me"); }