diff options
author | Nassim Jahnke <[email protected]> | 2024-12-03 22:06:05 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-12-03 22:06:05 +0100 |
commit | b8aeecb52000d224ae8a8ca72f99603ee479629e (patch) | |
tree | 8b1e44c7ab3ed2ffa86aa301ac7efd30648bf572 /patches/server/1017-Item-serialization-as-json.patch | |
parent | 71a4ef8d06578009142c1682044663a289a1f404 (diff) | |
download | Paper-b8aeecb52000d224ae8a8ca72f99603ee479629e.tar.gz Paper-b8aeecb52000d224ae8a8ca72f99603ee479629e.zip |
Compilation fixes
Diffstat (limited to 'patches/server/1017-Item-serialization-as-json.patch')
-rw-r--r-- | patches/server/1017-Item-serialization-as-json.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/1017-Item-serialization-as-json.patch b/patches/server/1017-Item-serialization-as-json.patch index 6f53e6364f..df8590e623 100644 --- a/patches/server/1017-Item-serialization-as-json.patch +++ b/patches/server/1017-Item-serialization-as-json.patch @@ -28,7 +28,7 @@ index 17b6bd630e9767c5e9fa5ceff228fb81f124be8c..0a905a59d97ed833cb4f1903006d6f34 public static final Codec<CustomData> CODEC_WITH_ID = CODEC.validate( component -> component.getUnsafe().contains("id", 8) ? DataResult.success(component) : DataResult.error(() -> "Missing id for entity in: " + component) diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 95ea59e73aa3295811d628e124306af63a0cd6b4..0d5d14a9a817c00704728f65cd87e446a0caa3c3 100644 +index 869b0977a463d46ff7983f8d15c3c679027e7135..ffbb1763f245a97da58a7d9eae627e61ce200da4 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -527,6 +527,39 @@ public final class CraftMagicNumbers implements UnsafeValues { |