mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-25 13:22:52 +02:00
Fix version command to show addon state.
This commit is contained in:
parent
2607256c06
commit
44f06f2911
@ -22,7 +22,7 @@ public class AdminVersionCommand extends CompositeCommand {
|
||||
@Override
|
||||
public boolean execute(User user, String label, List<String> args) {
|
||||
user.sendMessage("commands.bentobox.version.addon-syntax", TextVariables.NAME, getAddon().getDescription().getName(),
|
||||
TextVariables.VERSION, getAddon().getDescription().getVersion());
|
||||
TextVariables.VERSION, getAddon().getDescription().getVersion(), "[state]", getAddon().getState().name());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user