mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 03:55:14 +01:00
Fixup config parsing
This commit is contained in:
parent
a8cb8e6745
commit
e4b38b4f8c
@ -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)
|
||||
+ );
|
||||
|
Loading…
Reference in New Issue
Block a user