Add support for caching of configuration values. (#7608)

This commit is contained in:
Marc Hermans authored and GitHub committed 2021-02-24 18:36:51 -08:00
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));
}
}