aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0570-Add-missing-forceDrop-toggles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0570-Add-missing-forceDrop-toggles.patch')
-rw-r--r--patches/server/0570-Add-missing-forceDrop-toggles.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/patches/server/0570-Add-missing-forceDrop-toggles.patch b/patches/server/0570-Add-missing-forceDrop-toggles.patch
index d7c261ea7c..e11380293a 100644
--- a/patches/server/0570-Add-missing-forceDrop-toggles.patch
+++ b/patches/server/0570-Add-missing-forceDrop-toggles.patch
@@ -56,20 +56,6 @@ index 8df42121aa22ec9f95a1b8627b64b0ff71e36314..7b3d5322611990406028e59b14099072
Panda.this.setItemSlot(EquipmentSlot.MAINHAND, ItemStack.EMPTY);
int i = Panda.this.isLazy() ? Panda.this.random.nextInt(50) + 10 : Panda.this.random.nextInt(150) + 10;
-diff --git a/src/main/java/net/minecraft/world/entity/animal/Wolf.java b/src/main/java/net/minecraft/world/entity/animal/Wolf.java
-index faff64ae69eb689cea7754f221f374f8faa6e541..26b050599984ae3ba3827a0cabab255374e38c1e 100644
---- a/src/main/java/net/minecraft/world/entity/animal/Wolf.java
-+++ b/src/main/java/net/minecraft/world/entity/animal/Wolf.java
-@@ -472,7 +472,9 @@ public class Wolf extends TamableAnimal implements NeutralMob, VariantHolder<Hol
- this.playSound(SoundEvents.ARMOR_UNEQUIP_WOLF);
- itemstack1 = this.getBodyArmorItem();
- this.setBodyArmorItem(ItemStack.EMPTY);
-+ this.forceDrops = true; // Paper - add missing forceDrops toggles
- this.spawnAtLocation(itemstack1);
-+ this.forceDrops = false; // Paper - add missing forceDrops toggles
- return InteractionResult.SUCCESS;
- } else if (((Ingredient) ((ArmorMaterial) ArmorMaterials.ARMADILLO.value()).repairIngredient().get()).test(itemstack) && this.isInSittingPose() && this.hasArmor() && this.isOwnedBy(player) && this.getBodyArmorItem().isDamaged()) {
- itemstack.shrink(1);
diff --git a/src/main/java/net/minecraft/world/entity/monster/piglin/Piglin.java b/src/main/java/net/minecraft/world/entity/monster/piglin/Piglin.java
index 691d23bcd3e34a89e14c2e124595e076325dedbc..d2dfa49e124460f4762b950f9ded106d2ec15dc2 100644
--- a/src/main/java/net/minecraft/world/entity/monster/piglin/Piglin.java