Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
1af7b7603d
commit
81ec8b99ac
|
@ -90,6 +90,7 @@ public class ConfigFileTypeHandler {
|
||||||
public void run() {
|
public void run() {
|
||||||
// Force the regular classloader onto the special thread
|
// Force the regular classloader onto the special thread
|
||||||
Thread.currentThread().setContextClassLoader(realClassLoader);
|
Thread.currentThread().setContextClassLoader(realClassLoader);
|
||||||
|
this.commentedFileConfig.load();
|
||||||
LOGGER.debug(CONFIG, "Config file {} changed, sending notifies", this.modConfig.getFileName());
|
LOGGER.debug(CONFIG, "Config file {} changed, sending notifies", this.modConfig.getFileName());
|
||||||
this.modConfig.fireEvent(new ModConfig.ConfigReloading(this.modConfig));
|
this.modConfig.fireEvent(new ModConfig.ConfigReloading(this.modConfig));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue