mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
updated parse tab completer to call method inversely
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user