mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Made "commands.bentobox.reload.addon" use [name] text variable
This commit is contained in:
parent
3172cd098a
commit
fa49e8b3b2
@ -57,7 +57,7 @@ public class BentoBoxReloadCommand extends ConfirmableCommand {
|
||||
}
|
||||
|
||||
this.askConfirmation(user, () -> {
|
||||
user.sendMessage("commands.bentobox.reload.addon", TextVariables.DESCRIPTION, addon.get().getDescription().getName());
|
||||
user.sendMessage("commands.bentobox.reload.addon", TextVariables.NAME, addon.get().getDescription().getName());
|
||||
addon.ifPresent(getPlugin().getAddonsManager()::reloadAddon);
|
||||
user.sendMessage("commands.bentobox.reload.addon-reloaded", TextVariables.NAME, addon.get().getDescription().getName());
|
||||
});
|
||||
|
@ -258,7 +258,7 @@ commands:
|
||||
locales-reloaded: "&2Languages reloaded."
|
||||
addons-reloaded: "&2Addons reloaded."
|
||||
settings-reloaded: "&2Settings reloaded."
|
||||
addon: "&6Reloading [description]"
|
||||
addon: "&6Reloading &b[name]&2."
|
||||
addon-reloaded: "&b[name] &2reloaded."
|
||||
unknown-addon: "&2Unknown addon!"
|
||||
version:
|
||||
|
Loading…
Reference in New Issue
Block a user