Reload command now reloads gacha config (again)

This commit is contained in:
Benjamin Elsdon 2022-04-21 00:28:14 +08:00
parent 41b4965aef
commit 482c174ee7

View File

@ -15,6 +15,7 @@ public class Reload implements CommandHandler {
public void execute(GenshinPlayer sender, List<String> args) {
CommandHandler.sendMessage(sender, "Reloading config.");
Grasscutter.loadConfig();
Grasscutter.getGameServer().getGachaManager().load();
Grasscutter.getDispatchServer().loadQueries();
CommandHandler.sendMessage(sender, "Reload complete.");
}