mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-25 17:22:02 -07:00
Fix plugin commands (#12144)
This commit is contained in:
@@ -117,6 +117,7 @@ public class PaperCommands implements Commands, PaperRegistrar<LifecycleEventOwn
|
|||||||
}
|
}
|
||||||
|
|
||||||
pluginLiteral.pluginCommandMeta = new PluginCommandMeta(pluginMeta, description, registeredAliases);
|
pluginLiteral.pluginCommandMeta = new PluginCommandMeta(pluginMeta, description, registeredAliases);
|
||||||
|
node.pluginCommandMeta = pluginLiteral.pluginCommandMeta;
|
||||||
|
|
||||||
registeredLabels.addAll(registeredAliases);
|
registeredLabels.addAll(registeredAliases);
|
||||||
return registeredLabels.isEmpty() ? Collections.emptySet() : Collections.unmodifiableSet(registeredLabels);
|
return registeredLabels.isEmpty() ? Collections.emptySet() : Collections.unmodifiableSet(registeredLabels);
|
||||||
|
Reference in New Issue
Block a user