mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-30 22:53:39 +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();
|
p = p.getParent();
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
setDescription(reference.toString() + ".description");
|
setDescription("commands." + reference.toString() + ".description");
|
||||||
setParametersHelp(reference.toString() + ".parameters");
|
setParametersHelp("commands." + reference.toString() + ".parameters");
|
||||||
setup();
|
setup();
|
||||||
// If this command does not define its own help class, then use the default help command
|
// If this command does not define its own help class, then use the default help command
|
||||||
if (!getSubCommand("help").isPresent() && !label.equals("help")) {
|
if (!getSubCommand("help").isPresent() && !label.equals("help")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user