diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java (renamed from src/main/java/net/tylermurphy/hideAndSeek/commands/Reload.java) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/commands/Reload.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java index 04128c5..1b1f1d5 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/commands/Reload.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java @@ -1,8 +1,9 @@ -package net.tylermurphy.hideAndSeek.commands; +package net.tylermurphy.hideAndSeek.command; import org.bukkit.command.CommandSender; import net.tylermurphy.hideAndSeek.Store; +import net.tylermurphy.hideAndSeek.util.Functions; import net.tylermurphy.hideAndSeek.util.ICommand; import static net.tylermurphy.hideAndSeek.Store.*; @@ -11,6 +12,9 @@ public class Reload implements ICommand { public void execute(CommandSender sender, String[] args) { Store.loadConfig(); + try { + Functions.loadScoreboard(); + } catch(Exception e) {} sender.sendMessage(messagePrefix + "Reloaded the config"); } |