Fixup config parsing

This commit is contained in:
Nassim Jahnke 2024-08-19 12:47:50 +02:00
parent a8cb8e6745
commit e4b38b4f8c
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -855,10 +855,10 @@ index 0000000000000000000000000000000000000000..69add4a7f1147015806bc9b63a8340d1
+}
diff --git a/src/main/java/io/papermc/paper/configuration/PaperConfigurations.java b/src/main/java/io/papermc/paper/configuration/PaperConfigurations.java
new file mode 100644
index 0000000000000000000000000000000000000000..715d572351c295cd48c558bb1dfbef6126fc51d0
index 0000000000000000000000000000000000000000..d937adbe40687546686cddb27f2ae34f2795e9db
--- /dev/null
+++ b/src/main/java/io/papermc/paper/configuration/PaperConfigurations.java
@@ -0,0 +1,468 @@
@@ -0,0 +1,469 @@
+package io.papermc.paper.configuration;
+
+import com.google.common.base.Suppliers;
@ -1054,6 +1054,7 @@ index 0000000000000000000000000000000000000000..715d572351c295cd48c558bb1dfbef61
+ .header(GLOBAL_HEADER)
+ .serializers(builder -> builder
+ .register(new PacketClassSerializer())
+ .register(IntOr.Disabled.SERIALIZER)
+ .register(IntOr.Default.SERIALIZER)
+ .register(DoubleOr.Default.SERIALIZER)
+ );