diff options
author | Nassim Jahnke <[email protected]> | 2024-07-19 13:08:08 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-19 13:08:08 +0200 |
commit | 75af62b298eb70f535486df3343a1a333a60a002 (patch) | |
tree | 1571aa3ade589036a36df4570cbe4f6ac430b93c /patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch | |
parent | 2a392767942799bc93a70a8698a0ef4ca7b8b6f9 (diff) | |
download | Paper-75af62b298eb70f535486df3343a1a333a60a002.tar.gz Paper-75af62b298eb70f535486df3343a1a333a60a002.zip |
Split rewriting flag into `paper.disableOldApiSupport` and `paper.disablePluginRemapping` (#11108)
Diffstat (limited to 'patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch')
-rw-r--r-- | patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch b/patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch index 57202766df..d8143eab89 100644 --- a/patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch +++ b/patches/server/0897-Fix-UnsafeValues-loadAdvancement.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Fix UnsafeValues#loadAdvancement diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 9b98070aa4998071b0821605f1f9bc1622716938..c4d1cf7399a20c2067c51c81b5107a4841a35337 100644 +index 48eeac0795c479ebb2ff64005b1405421131fcd7..1d98c0e9f138f122aa73e2f1dd6d485d7865720d 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -@@ -301,9 +301,30 @@ public final class CraftMagicNumbers implements UnsafeValues { +@@ -302,9 +302,30 @@ public final class CraftMagicNumbers implements UnsafeValues { ResourceLocation minecraftkey = CraftNamespacedKey.toMinecraft(key); JsonElement jsonelement = ServerAdvancementManager.GSON.fromJson(advancement, JsonElement.class); |