mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Fixed default description and parametersHelp (again)
Commit efb8cb27a9
broke it
This commit is contained in:
parent
5b7502d83f
commit
2fee163818
@ -212,8 +212,8 @@ public abstract class CompositeCommand extends Command implements PluginIdentifi
|
||||
p = p.getParent();
|
||||
index++;
|
||||
}
|
||||
setDescription(reference.toString() + ".description");
|
||||
setParametersHelp(reference.toString() + ".parameters");
|
||||
setDescription("commands." + reference.toString() + ".description");
|
||||
setParametersHelp("commands." + reference.toString() + ".parameters");
|
||||
setup();
|
||||
// If this command does not define its own help class, then use the default help command
|
||||
if (!getSubCommand("help").isPresent() && !label.equals("help")) {
|
||||
|
Loading…
Reference in New Issue
Block a user