diff options
Diffstat (limited to 'patches/server/0659-ItemStack-repair-check-API.patch')
-rw-r--r-- | patches/server/0659-ItemStack-repair-check-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0659-ItemStack-repair-check-API.patch b/patches/server/0659-ItemStack-repair-check-API.patch index ac1a338c44..30ed4e85e6 100644 --- a/patches/server/0659-ItemStack-repair-check-API.patch +++ b/patches/server/0659-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 fdbc4ce80e99c6120daf6102102409c1ccab88ba..1b1147c10c2e9caa4ccf3f2bcdb1211ed39d293a 100644 +index ca44ec3e2bb62f9ac029c854257bdae79a62531d..a2567ee56b985321894d35a5edc338bd949b6d10 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -@@ -491,6 +491,14 @@ public final class CraftMagicNumbers implements UnsafeValues { +@@ -496,6 +496,14 @@ public final class CraftMagicNumbers implements UnsafeValues { return io.papermc.paper.inventory.ItemRarity.values()[getItem(itemStack.getType()).getRarity(CraftItemStack.asNMSCopy(itemStack)).ordinal()]; } |