mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Add support for caching of configuration values. (#7608)
This commit is contained in:
1 parent
ba15737fe3
commit
65bc41281f
3 files changed
+176
-1
No files matched your search
@@ -156,6 +156,7 @@ public class ConfigFileTypeHandler {
|
||||
throw new ConfigLoadingException(modConfig, ex);
|
||||
}
|
||||
LOGGER.debug(CONFIG, "Config file {} changed, sending notifies", this.modConfig.getFileName());
|
||||
this.modConfig.getSpec().afterReload();
|
||||
this.modConfig.fireEvent(new ModConfig.Reloading(this.modConfig));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user