We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46d3c7d commit 04d9481Copy full SHA for 04d9481
src/main/java/dev/loat/command/sub_command/Reload.java
@@ -3,6 +3,7 @@
3
import com.mojang.brigadier.context.CommandContext;
4
5
import dev.loat.command.Command;
6
+import dev.loat.config.ConfigManager;
7
import dev.loat.logging.Logger;
8
import net.minecraft.commands.CommandSourceStack;
9
import net.minecraft.network.chat.Component;
@@ -13,6 +14,8 @@ public final class Reload extends Command {
13
14
15
public static int execute(CommandContext<CommandSourceStack> context) {
16
Logger.info("Reloading config");
17
+
18
+ ConfigManager.loadAll();
19
20
Reload.sendSuccess(context, () -> Component.literal("/backup reload"));
21
return 1;
0 commit comments