diff options
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 { |