diff options
Diffstat (limited to 'patches/server/0968-Expand-PlayerItemMendEvent.patch')
-rw-r--r-- | patches/server/0968-Expand-PlayerItemMendEvent.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0968-Expand-PlayerItemMendEvent.patch b/patches/server/0968-Expand-PlayerItemMendEvent.patch index 0a658d60fa..e722df8a3b 100644 --- a/patches/server/0968-Expand-PlayerItemMendEvent.patch +++ b/patches/server/0968-Expand-PlayerItemMendEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Expand PlayerItemMendEvent diff --git a/src/main/java/net/minecraft/world/entity/ExperienceOrb.java b/src/main/java/net/minecraft/world/entity/ExperienceOrb.java -index 000c13afc6bb3acb68b9adcaeefb7bb1cb703702..673327af0f77aeac0d704b0fb6bebebc76a3c966 100644 +index 8d8fe55a05eea237a8af99ed15ab16d6167daa77..eca634792d2a7cc649675e3394e84dbaf1453905 100644 --- a/src/main/java/net/minecraft/world/entity/ExperienceOrb.java +++ b/src/main/java/net/minecraft/world/entity/ExperienceOrb.java -@@ -335,7 +335,7 @@ public class ExperienceOrb extends Entity { +@@ -337,7 +337,7 @@ public class ExperienceOrb extends Entity { ItemStack itemstack = (ItemStack) entry.getValue(); int j = Math.min(this.xpToDurability(this.value), itemstack.getDamageValue()); // CraftBukkit start @@ -17,7 +17,7 @@ index 000c13afc6bb3acb68b9adcaeefb7bb1cb703702..673327af0f77aeac0d704b0fb6bebebc j = event.getRepairAmount(); if (event.isCancelled()) { return amount; -@@ -343,8 +343,13 @@ public class ExperienceOrb extends Entity { +@@ -345,8 +345,13 @@ public class ExperienceOrb extends Entity { // CraftBukkit end itemstack.setDamageValue(itemstack.getDamageValue() - j); |