Fixed Message Config and reloading

This commit is contained in:
2022-09-02 08:54:16 +02:00
committed by Len
parent aa00c8d1f7
commit 4215d18ca5
2 changed files with 14 additions and 10 deletions
@@ -1,5 +1,8 @@
package com.alttd.playershops.commands;
import com.alttd.playershops.PlayerShops;
import com.alttd.playershops.config.Config;
import com.alttd.playershops.config.MessageConfig;
import com.alttd.playershops.gui.HomeGui;
import com.alttd.playershops.gui.ShopManagementGui;
import com.alttd.playershops.shop.PlayerShop;
@@ -24,6 +27,7 @@ public class ShopCommand implements CommandExecutor, TabCompleter {
}
switch (args[0].toLowerCase()) {
case "reload":
PlayerShops.getInstance().reloadConfigs();
break;
case "open":
HomeGui gui = new HomeGui(player.getUniqueId());