aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-03-03 10:21:48 -0800
committerJake Potrebic <[email protected]>2022-03-03 10:21:48 -0800
commitd33cdcf2e6ee53b28cabe99f417c7995bd9b7bc3 (patch)
tree6e4d96f4a5bf5ace099af42a9e55594fd8d44d64 /patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch
parent90788a556c6fb4a39919da2c440080b5daffe950 (diff)
downloadPaper-d33cdcf2e6ee53b28cabe99f417c7995bd9b7bc3.tar.gz
Paper-d33cdcf2e6ee53b28cabe99f417c7995bd9b7bc3.zip
Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: e25c6a75 PR-638: Add CreativeCategory API for Materials CraftBukkit Changes: 86292d3e0 PR-876: Add CreativeCategory API for Materials
Diffstat (limited to 'patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch')
-rw-r--r--patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch b/patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch
index 385a44730f..e9fa42e4d9 100644
--- a/patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch
+++ b/patches/api/0191-Add-Raw-Byte-ItemStack-Serialization.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Add Raw Byte ItemStack Serialization
Serializes using NBT which is safer for server data migrations than bukkits format.
diff --git a/src/main/java/org/bukkit/UnsafeValues.java b/src/main/java/org/bukkit/UnsafeValues.java
-index 2b123aa748d6ba6c1367f376fedb0b9f019ef7fb..ed5835985df93e87e2eb834c501fae2f1d1ad0d5 100644
+index db272568d7dee924083e37c55bdbf90f05fafc69..f9434c19c1bf355a734b3a1ddf32c81fb7abf9eb 100644
--- a/src/main/java/org/bukkit/UnsafeValues.java
+++ b/src/main/java/org/bukkit/UnsafeValues.java
-@@ -104,5 +104,9 @@ public interface UnsafeValues {
+@@ -107,5 +107,9 @@ public interface UnsafeValues {
static boolean isLegacyPlugin(org.bukkit.plugin.Plugin plugin) {
return !Bukkit.getUnsafe().isSupportedApiVersion(plugin.getDescription().getAPIVersion());
}