From ff80ab6a2341b61c90ae4aec82dc7ac836c88f2f Mon Sep 17 00:00:00 2001 From: Cadiboo <37298044+Cadiboo@users.noreply.github.com> Date: Tue, 9 Jul 2019 12:49:47 +1000 Subject: [PATCH] Fire Loading event (#5795) --- src/main/java/net/minecraftforge/fml/config/ConfigTracker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraftforge/fml/config/ConfigTracker.java b/src/main/java/net/minecraftforge/fml/config/ConfigTracker.java index 089a2d205..eb55acceb 100644 --- a/src/main/java/net/minecraftforge/fml/config/ConfigTracker.java +++ b/src/main/java/net/minecraftforge/fml/config/ConfigTracker.java @@ -112,6 +112,7 @@ public class ConfigTracker { final CommentedConfig commentedConfig = CommentedConfig.inMemory(); modConfig.getSpec().correct(commentedConfig); modConfig.setConfigData(commentedConfig); + modConfig.fireEvent(new ModConfig.Loading(modConfig)); }); } }