diff options
author | Nassim Jahnke <[email protected]> | 2024-08-19 12:47:50 +0200 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-08-19 12:47:50 +0200 |
commit | e4b38b4f8c2d6647a36865b64f63df771b5e4041 (patch) | |
tree | cfd97424a56876d3c39a6b9e0069aa7b46b043b1 | |
parent | a8cb8e6745dab32139d954d732a3423a454545ab (diff) | |
download | Paper-e4b38b4f8c2d6647a36865b64f63df771b5e4041.tar.gz Paper-e4b38b4f8c2d6647a36865b64f63df771b5e4041.zip |
Fixup config parsing
-rw-r--r-- | patches/server/0005-Paper-config-files.patch | 5 |
1 files 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) + ); |