mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
Call init() during config reloads
This commit is contained in:
1 parent
5c85ccb292
commit
2da606eb7a
1 file changed
+2
@@ -521,6 +521,7 @@ public final class Config {
|
||||
if (event.modID.equals(EnderIO.MODID)) {
|
||||
Log.info("Updating config...");
|
||||
syncConfig(false);
|
||||
init();
|
||||
postInit();
|
||||
}
|
||||
}
|
||||
@@ -531,6 +532,7 @@ public final class Config {
|
||||
Log.info("Updating config...");
|
||||
syncConfig(true);
|
||||
event.setSuccessful();
|
||||
init();
|
||||
postInit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user