aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0005-Paper-config-files.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-06-14 14:11:52 +0200
committerNassim Jahnke <[email protected]>2024-06-14 14:11:52 +0200
commit0d3ce2d704f295b0e48795ea8145134bed9f4cb1 (patch)
treea2b93e2e167d2119feff6fe62007580ac662fd59 /patches/server/0005-Paper-config-files.patch
parent3c04f9f668c3a42cb294c5e55a846793894312e5 (diff)
downloadPaper-0d3ce2d704f295b0e48795ea8145134bed9f4cb1.tar.gz
Paper-0d3ce2d704f295b0e48795ea8145134bed9f4cb1.zip
Fix more compile issues
Diffstat (limited to 'patches/server/0005-Paper-config-files.patch')
-rw-r--r--patches/server/0005-Paper-config-files.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0005-Paper-config-files.patch b/patches/server/0005-Paper-config-files.patch
index 44c61dacc7..d958463393 100644
--- a/patches/server/0005-Paper-config-files.patch
+++ b/patches/server/0005-Paper-config-files.patch
@@ -121,7 +121,7 @@ index 0000000000000000000000000000000000000000..042478cf7ce150f1f1bc5cddd7fa40f8
+}
diff --git a/src/main/java/io/papermc/paper/configuration/Configurations.java b/src/main/java/io/papermc/paper/configuration/Configurations.java
new file mode 100644
-index 0000000000000000000000000000000000000000..7684e71f802f3d19e5340713b45cc84860ce9495
+index 0000000000000000000000000000000000000000..d9502ba028a96f9cc846f9ed428bd8066b857ca3
--- /dev/null
+++ b/src/main/java/io/papermc/paper/configuration/Configurations.java
@@ -0,0 +1,360 @@
@@ -164,7 +164,7 @@ index 0000000000000000000000000000000000000000..7684e71f802f3d19e5340713b45cc848
+
+ private static final Logger LOGGER = LogUtils.getClassLogger();
+ public static final String WORLD_DEFAULTS = "__world_defaults__";
-+ public static final ResourceLocation WORLD_DEFAULTS_KEY = new ResourceLocation("configurations", WORLD_DEFAULTS);
++ public static final ResourceLocation WORLD_DEFAULTS_KEY = ResourceLocation.fromNamespaceAndPath("configurations", WORLD_DEFAULTS);
+ protected final Path globalFolder;
+ protected final Class<G> globalConfigClass;
+ protected final Class<W> worldConfigClass;