mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-28 11:01:41 +01:00
Updated locale references in BentoBoxVersionCommand
This commit is contained in:
parent
406441fc1e
commit
8895cbf1a8
@ -28,12 +28,12 @@ public class BentoBoxVersionCommand extends CompositeCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean execute(User user, String label, List<String> args) {
|
public boolean execute(User user, String label, List<String> args) {
|
||||||
user.sendMessage("commands.bentobox.info.loaded-game-worlds");
|
user.sendMessage("commands.bentobox.version.loaded-game-worlds");
|
||||||
getIWM().getOverWorldNames().forEach(n -> user.sendMessage("commands.bentobox.info.game-worlds", TextVariables.NAME, n));
|
getIWM().getOverWorldNames().forEach(n -> user.sendMessage("commands.bentobox.version.game-worlds", TextVariables.NAME, n));
|
||||||
user.sendMessage("commands.bentobox.info.loaded-addons");
|
user.sendMessage("commands.bentobox.version.loaded-addons");
|
||||||
getPlugin().getAddonsManager()
|
getPlugin().getAddonsManager()
|
||||||
.getAddons()
|
.getAddons()
|
||||||
.forEach(a -> user.sendMessage("commands.bentobox.info.addon-syntax", TextVariables.NAME, a.getDescription().getName(),
|
.forEach(a -> user.sendMessage("commands.bentobox.version.addon-syntax", TextVariables.NAME, a.getDescription().getName(),
|
||||||
TextVariables.VERSION, a.getDescription().getVersion()));
|
TextVariables.VERSION, a.getDescription().getVersion()));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user