bugfix by reloadconfig

'/t2c reloadconfig' did not give any feedback
This commit is contained in:
JaTiTV 2022-12-31 02:28:58 +01:00
parent 1b589759fb
commit 9916040c63

View File

@ -5,6 +5,7 @@ import net.t2code.t2codelib.SPIGOT.api.update.T2CupdateAPI;
import net.t2code.t2codelib.SPIGOT.api.bungeePlayers.T2CbungeePlayers; import net.t2code.t2codelib.SPIGOT.api.bungeePlayers.T2CbungeePlayers;
import net.t2code.t2codelib.T2CupdateObject; import net.t2code.t2codelib.T2CupdateObject;
import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig; import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig;
import net.t2code.t2codelib.Util;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
@ -41,6 +42,7 @@ public class CmdExecuter implements CommandExecutor, TabCompleter {
return false; return false;
case "reloadconfig": case "reloadconfig":
SelectLibConfig.onSelect(); SelectLibConfig.onSelect();
T2Csend.sender(sender, Util.getPrefix() + " §2Config successfully reloaded");
return false; return false;
case "debug": case "debug":
Commands.debug(sender,args); Commands.debug(sender,args);