mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-16 01:15:08 +01:00
@@ -25,7 +25,7 @@ public class MidnightLib {
|
|||||||
try { if (!IS_SYSTEM_MAC) {
|
try { if (!IS_SYSTEM_MAC) {
|
||||||
System.setProperty("java.awt.headless", "false");
|
System.setProperty("java.awt.headless", "false");
|
||||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||||
}} catch (Exception e) { LOGGER.error("Error setting system look and feel", e); }
|
}} catch (Exception | Error e) { LOGGER.error("Error setting system look and feel", e); }
|
||||||
MidnightLibConfig.init(MOD_ID, MidnightLibConfig.class);
|
MidnightLibConfig.init(MOD_ID, MidnightLibConfig.class);
|
||||||
}
|
}
|
||||||
public static void registerAutoCommand() {
|
public static void registerAutoCommand() {
|
||||||
|
|||||||
Reference in New Issue
Block a user