aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0558-ItemStack-repair-check-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0558-ItemStack-repair-check-API.patch')
-rw-r--r--patches/server/0558-ItemStack-repair-check-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0558-ItemStack-repair-check-API.patch b/patches/server/0558-ItemStack-repair-check-API.patch
index daefbc2d1d..63cbb56089 100644
--- a/patches/server/0558-ItemStack-repair-check-API.patch
+++ b/patches/server/0558-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 44b0acb82f10a35bc0c42fdb6fd685aadc76d789..6eca86a2ab7145f4c60abb90cd46b4098ad8fb56 100644
+index 81c2f1dbadb678907cac3cc18e7d0bb307304f00..79977c677b4348bbfc8dcd4cb5e4c01c6fceb354 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -551,6 +551,14 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -556,6 +556,14 @@ public final class CraftMagicNumbers implements UnsafeValues {
return io.papermc.paper.inventory.ItemRarity.values()[getItem(itemStack.getType()).getRarity(CraftItemStack.asNMSCopy(itemStack)).ordinal()];
}