diff options
author | Jake Potrebic <[email protected]> | 2023-08-13 17:41:18 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2023-08-15 10:04:27 -0700 |
commit | 496156e2eff4ec5a47aaf174cb1a04fd90612fde (patch) | |
tree | 87ddd26d4ed12c8bd8ad3723a70062b69c47110c /patches/server/0606-ItemStack-repair-check-API.patch | |
parent | 6dc8e30c9275f7a172025b053d4970d1795c6104 (diff) | |
download | Paper-496156e2eff4ec5a47aaf174cb1a04fd90612fde.tar.gz Paper-496156e2eff4ec5a47aaf174cb1a04fd90612fde.zip |
Update with latest upstream changesexperimental
Diffstat (limited to 'patches/server/0606-ItemStack-repair-check-API.patch')
-rw-r--r-- | patches/server/0606-ItemStack-repair-check-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0606-ItemStack-repair-check-API.patch b/patches/server/0606-ItemStack-repair-check-API.patch index 68b8b54df0..edd2b18afe 100644 --- a/patches/server/0606-ItemStack-repair-check-API.patch +++ b/patches/server/0606-ItemStack-repair-check-API.patch @@ -5,10 +5,10 @@ Subject: [PATCH] ItemStack repair check API diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 2944ca24702bb5b8a3c548f5fda872ddb44e7573..d59368cc5d280935da1aac1d9322583527e8742d 100644 +index e71b4d76971a195224b74ffae9b235a1f47b445e..a2b579b5c87294a21b354cb6abcc439b5ca7bcc9 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -@@ -593,6 +593,11 @@ public final class CraftMagicNumbers implements UnsafeValues { +@@ -576,6 +576,11 @@ public final class CraftMagicNumbers implements UnsafeValues { return io.papermc.paper.inventory.ItemRarity.values()[((org.bukkit.craftbukkit.inventory.CraftItemType)itemStack.getType()).getHandle().getRarity(CraftItemStack.asNMSCopy(itemStack)).ordinal()]; } |