From e4b38b4f8c2d6647a36865b64f63df771b5e4041 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 19 Aug 2024 12:47:50 +0200 Subject: [PATCH] Fixup config parsing --- patches/server/0005-Paper-config-files.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patches/server/0005-Paper-config-files.patch b/patches/server/0005-Paper-config-files.patch index b87cc8fe29..795bf8a2bf 100644 --- a/patches/server/0005-Paper-config-files.patch +++ b/patches/server/0005-Paper-config-files.patch @@ -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) + );