MidnightLib 1.5.2 - NeoForge & more cleanness

- Native support for NeoForge (& dropped support for regular Forge)
- Cleanup of some code -> Overview button is now added via callbacks instead of a mixin
- Unify client & server classes
  - Minor breaking change only affecting mods using the hiding functionality
This commit is contained in:
Martin Prokoph
2023-12-11 19:28:04 +01:00
parent 29c8a9ccfe
commit fb1c4c1158
25 changed files with 135 additions and 155 deletions

View File

@@ -194,7 +194,7 @@ public abstract class MidnightConfig {
if (!Files.exists(path)) Files.createFile(path);
Files.write(path, gson.toJson(getClass(modid)).getBytes());
} catch (Exception e) {
e.printStackTrace();
e.fillInStackTrace();
}
}
@Environment(EnvType.CLIENT)