Skip to content

Commit 04d9481

Browse files
committed
Update Reload.java
1 parent 46d3c7d commit 04d9481

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/dev/loat/command/sub_command/Reload.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import com.mojang.brigadier.context.CommandContext;
44

55
import dev.loat.command.Command;
6+
import dev.loat.config.ConfigManager;
67
import dev.loat.logging.Logger;
78
import net.minecraft.commands.CommandSourceStack;
89
import net.minecraft.network.chat.Component;
@@ -13,6 +14,8 @@ public final class Reload extends Command {
1314

1415
public static int execute(CommandContext<CommandSourceStack> context) {
1516
Logger.info("Reloading config");
17+
18+
ConfigManager.loadAll();
1619

1720
Reload.sendSuccess(context, () -> Component.literal("/backup reload"));
1821
return 1;

0 commit comments

Comments
 (0)