diff --git a/CustomAlerts/src/CustomAlerts/Commands/Commands.php b/CustomAlerts/src/CustomAlerts/Commands/Commands.php index b0649c7..cb11281 100755 --- a/CustomAlerts/src/CustomAlerts/Commands/Commands.php +++ b/CustomAlerts/src/CustomAlerts/Commands/Commands.php @@ -43,7 +43,7 @@ public function execute(CommandSender $sender, string $commandLabel, array $args case "reload": if($sender->hasPermission("customalerts.reload")){ $this->plugin->reloadConfig(); - $this->plugin->cfg = $this->plugin->getConfig()->getAll(); + $this->plugin->reloadCfg(); $sender->sendMessage(TextFormat::colorize(CustomAlerts::PREFIX . "&aConfiguration Reloaded.")); }else{ $sender->sendMessage(TextFormat::colorize("&cYou don't have permissions to use this command"));