diff --git a/patches/server/0003-Empty-config-file-base.patch b/patches/server/0003-Empty-config-file-base.patch index f1a132b..f97889c 100644 --- a/patches/server/0003-Empty-config-file-base.patch +++ b/patches/server/0003-Empty-config-file-base.patch @@ -192,10 +192,10 @@ index 0000000000000000000000000000000000000000..9f6896711907ac30fe0c00130207b970 +} diff --git a/src/main/java/me/earthme/luminol/config/LuminolConfig.java b/src/main/java/me/earthme/luminol/config/LuminolConfig.java new file mode 100644 -index 0000000000000000000000000000000000000000..976cc572861174787b37992388a03ab01f8703a4 +index 0000000000000000000000000000000000000000..fcacd381e4a5875ed0c542a9e6c1804fae823435 --- /dev/null +++ b/src/main/java/me/earthme/luminol/config/LuminolConfig.java -@@ -0,0 +1,220 @@ +@@ -0,0 +1,221 @@ +package me.earthme.luminol.config; + +import com.electronwill.nightconfig.core.file.CommentedFileConfig; @@ -275,6 +275,7 @@ index 0000000000000000000000000000000000000000..976cc572861174787b37992388a03ab0 + loadAllModules(); + }catch (Exception e){ + logger.error("Failed to load config modules!",e); ++ throw new RuntimeException(e); + } + + configFileInstance.save(); diff --git a/patches/server/0018-Add-configurable-region-format-framework-linear-v2-r.patch b/patches/server/0018-Add-configurable-region-format-framework-linear-v2-r.patch index 5e8afd7..5aaacde 100644 --- a/patches/server/0018-Add-configurable-region-format-framework-linear-v2-r.patch +++ b/patches/server/0018-Add-configurable-region-format-framework-linear-v2-r.patch @@ -1,6 +1,6 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: MrHua269 -Date: Sun, 15 Dec 2024 12:11:39 +0800 +Date: Sun, 15 Dec 2024 12:53:33 +0800 Subject: [PATCH] Add configurable region format framework & linear v2 region format support @@ -778,18 +778,6 @@ index 51c126735ace8fdde89ad97b5cab62f244212db0..c7d4d944eb198ac53a3eeae717a25c7d - public void moonrise$write(final RegionFile regionFile) throws IOException; + public void moonrise$write(final abomination.IRegionFile regionFile) throws IOException; // Luminol - Configurable region file format } -diff --git a/src/main/java/me/earthme/luminol/config/LuminolConfig.java b/src/main/java/me/earthme/luminol/config/LuminolConfig.java -index 976cc572861174787b37992388a03ab01f8703a4..fcacd381e4a5875ed0c542a9e6c1804fae823435 100644 ---- a/src/main/java/me/earthme/luminol/config/LuminolConfig.java -+++ b/src/main/java/me/earthme/luminol/config/LuminolConfig.java -@@ -77,6 +77,7 @@ public class LuminolConfig { - loadAllModules(); - }catch (Exception e){ - logger.error("Failed to load config modules!",e); -+ throw new RuntimeException(e); - } - - configFileInstance.save(); diff --git a/src/main/java/me/earthme/luminol/config/modules/misc/RegionFormatConfig.java b/src/main/java/me/earthme/luminol/config/modules/misc/RegionFormatConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..60546260cd1d535cc596485de2ced48b7e045b3a