From 94106a38f5c0b893a122a79b3913db4d81086e6d Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Fri, 4 Aug 2023 08:52:22 -0700 Subject: [PATCH] Fix treasure map config default (#9572) --- patches/server/Paper-config-files.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Paper-config-files.patch b/patches/server/Paper-config-files.patch index 9149f622e7..548af43696 100644 --- a/patches/server/Paper-config-files.patch +++ b/patches/server/Paper-config-files.patch @@ -3827,7 +3827,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + public static final ScalarSerializer SERIALIZER = new Serializer(); + + public boolean or(boolean fallback) { -+ return this.value != null && this.value; ++ return this.value == null ? fallback : this.value; + } + + private static final class Serializer extends ScalarSerializer {