🐛 Fix double namespaced commands on Bukkit without Brigadier
This commit is contained in:
parent
4777831ee6
commit
eabdfe4243
1 changed files with 0 additions and 4 deletions
|
|
@ -91,10 +91,6 @@ public class BukkitPluginRegistrationHandler<C> implements CommandRegistrationHa
|
|||
@SuppressWarnings("unchecked")
|
||||
final List<String> aliases = new ArrayList<>(((StaticArgument<C>) commandArgument).getAlternativeAliases());
|
||||
|
||||
if (!label.contains(":")) {
|
||||
aliases.add(prefixedLabel);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked") final BukkitCommand<C> bukkitCommand = new BukkitCommand<>(
|
||||
label,
|
||||
(this.bukkitCommandManager.getSplitAliases() ? Collections.<String>emptyList() : aliases),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue