updated parse tab completer to call method inversely

This commit is contained in:
Sxtanna 2020-07-25 13:07:59 -04:00
parent fb7a3ec99d
commit d1b50c3db4

View File

@ -147,7 +147,7 @@ public final class CommandParse extends PlaceholderCommand
private void completeParseSingular(@NotNull final CommandSender sender, @NotNull @Unmodifiable final List<String> params, @NotNull final List<String> 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");
}