mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 13:45:14 +01:00
Renamed /bbox info to /bbox version
This commit is contained in:
parent
2e75c8b4b4
commit
7d04d8acc2
@ -17,7 +17,7 @@ public class BentoBoxCommand extends CompositeCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
setDescription("commands.bentobox.description");
|
setDescription("commands.bentobox.description");
|
||||||
new InfoCommand(this);
|
new VersionCommand(this);
|
||||||
new AboutCommand(this);
|
new AboutCommand(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,14 +6,19 @@ import world.bentobox.bentobox.api.commands.CompositeCommand;
|
|||||||
import world.bentobox.bentobox.api.localization.TextVariables;
|
import world.bentobox.bentobox.api.localization.TextVariables;
|
||||||
import world.bentobox.bentobox.api.user.User;
|
import world.bentobox.bentobox.api.user.User;
|
||||||
|
|
||||||
public class InfoCommand extends CompositeCommand {
|
/**
|
||||||
|
* Displays information about Gamemodes, Addons and versioning.
|
||||||
|
*
|
||||||
|
* @author tastybento
|
||||||
|
*/
|
||||||
|
public class VersionCommand extends CompositeCommand {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Info command
|
* Info command
|
||||||
* @param parent - command parent
|
* @param parent - command parent
|
||||||
*/
|
*/
|
||||||
public InfoCommand(CompositeCommand parent) {
|
public VersionCommand(CompositeCommand parent) {
|
||||||
super(parent, "info");
|
super(parent, "version", "v", "versions", "addons");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
Loading…
Reference in New Issue
Block a user