diff --git a/eco-core/core-plugin/src/main/java/com/willfp/talismans/command/CommandReload.java b/eco-core/core-plugin/src/main/java/com/willfp/talismans/command/CommandReload.java index c1fb37f..e468734 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/talismans/command/CommandReload.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/talismans/command/CommandReload.java @@ -18,8 +18,10 @@ public class CommandReload extends Subcommand { @Override public CommandHandler getHandler() { return (sender, args) -> { - this.getPlugin().reload(); - sender.sendMessage(this.getPlugin().getLangYml().getMessage("reloaded")); + sender.sendMessage( + this.getPlugin().getLangYml().getMessage("reloaded") + .replace("%time%", this.getPlugin().reloadWithTime() + "") + ); }; } } diff --git a/eco-core/core-plugin/src/main/resources/lang.yml b/eco-core/core-plugin/src/main/resources/lang.yml index 1c4a4d8..48f376e 100644 --- a/eco-core/core-plugin/src/main/resources/lang.yml +++ b/eco-core/core-plugin/src/main/resources/lang.yml @@ -3,7 +3,7 @@ messages: no-permission: "&cYou don't have permission to do this!" not-player: "&cThis command must be run by a player" invalid-command: "&cUnknown Subcommand!" - reloaded: "Reloaded!" + reloaded: "Reloaded! Took %time%ms" needs-player: "&cYou must specify a player" invalid-player: "&cInvalid player!" needs-talisman: "&cYou must specify a talisman"