diff options
author | Nassim Jahnke <[email protected]> | 2024-09-22 21:02:06 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-22 21:02:06 +0200 |
commit | 81d94483a2ca1eee317e7ee7adc11617cb11728d (patch) | |
tree | 145dce620f3b1715d182e290f91906cbf36785ae /patches/api/0254-Improve-Item-Rarity-API.patch | |
parent | 1cb2bf466fb9fc42134be7e18d160f991d353fdf (diff) | |
download | Paper-81d94483a2ca1eee317e7ee7adc11617cb11728d.tar.gz Paper-81d94483a2ca1eee317e7ee7adc11617cb11728d.zip |
Add ItemStack array serialization methods (#10387)
Diffstat (limited to 'patches/api/0254-Improve-Item-Rarity-API.patch')
-rw-r--r-- | patches/api/0254-Improve-Item-Rarity-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0254-Improve-Item-Rarity-API.patch b/patches/api/0254-Improve-Item-Rarity-API.patch index 7139be3251..30bc1e6e14 100644 --- a/patches/api/0254-Improve-Item-Rarity-API.patch +++ b/patches/api/0254-Improve-Item-Rarity-API.patch @@ -110,10 +110,10 @@ index e7931f73f10fe35ebd5fe4a04b036d53bb117ebd..cbce835ed6d44e5b8c9aaae4e36a77f8 + // Paper end } diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java -index ef36a696f2f926d70c5d93ce08f75fa9a749e32f..fb1d7ff51f267225ac76c29a56d67fb443d3a92f 100644 +index 69e7cbe49ff2388dea0214f6cb26f36f29ec1453..d2af613c56010f3b0dd0d3ff7b438193127353d0 100644 --- a/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/src/main/java/org/bukkit/inventory/ItemStack.java -@@ -907,5 +907,17 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat +@@ -994,5 +994,17 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat public @NotNull String translationKey() { return Bukkit.getUnsafe().getTranslationKey(this); } |