Move mod compat warnings into AbstractModInit and add WWOO to the list

This commit is contained in:
James Seibel
2024-09-22 08:09:31 -05:00
parent 95eb07ca79
commit 8b514b07dc
3 changed files with 70 additions and 30 deletions
@@ -114,19 +114,6 @@ public class ForgeMain extends AbstractModInitializer
() -> new ConfigScreenHandler.ConfigScreenFactory((client, parent) -> GetConfigScreen.getScreen(parent)));
#endif
if (Config.Client.Advanced.Logging.showModCompatibilityWarningsOnStartup.get())
{
IModChecker modChecker = SingletonInjector.INSTANCE.get(IModChecker.class);
if (modChecker.isModLoaded("alexscaves"))
{
String message =
// orange text
"\u00A76" + "Distant Horizons: Alex's Cave detected." + "\u00A7r\n" +
"You may have to change Alex's config for DH to render. ";
ClientApi.INSTANCE.showChatMessageNextFrame(message);
}
}
}
@Override