Fixed Message Config and reloading
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user