mirror of
https://github.com/plexusorg/Module-NickMiniMessage.git
synced 2025-07-02 02:16:40 +00:00
fix tab completion
This commit is contained in:
@ -8,6 +8,8 @@ import dev.plex.command.annotation.CommandPermissions;
|
||||
import dev.plex.command.source.RequiredCommandSource;
|
||||
import dev.plex.module.nickmm.NickMiniMessageModule;
|
||||
import dev.plex.util.minimessage.SafeMiniMessage;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
||||
@ -65,4 +67,10 @@ public class NickMMCommand extends PlexCommand
|
||||
|
||||
return legacyComponent.deserialize(I18n.tl("nickSet", legacy));
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull List<String> smartTabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) throws IllegalArgumentException
|
||||
{
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user