This commit is contained in:
Saturn5Vfive 2022-04-22 03:29:39 -05:00
parent 935d7b68ab
commit afe0f64462

View file

@ -184,7 +184,7 @@ public class ShadowMain implements ModInitializer {
CommandRegistry.init();
log(Level.INFO, "Sending post window init");
Events.fireEvent(EventType.POST_INIT, new PostInitEvent());
for (Module module : ModuleRegistry.getModules()) {
for (Module module : new ArrayList<>(ModuleRegistry.getModules())) {
module.postInit();
}
}