From c2f66ea2670809c14ab8615e546bcf0d98d760dc Mon Sep 17 00:00:00 2001 From: PadowYT2 Date: Mon, 22 Jul 2024 06:03:51 +0300 Subject: [PATCH] Fix MC-266334 (#87) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kobe ⑧ <102713261+HaHaWTH@users.noreply.github.com> --- patches/server/0095-Fix-MC-266334.patch | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 patches/server/0095-Fix-MC-266334.patch diff --git a/patches/server/0095-Fix-MC-266334.patch b/patches/server/0095-Fix-MC-266334.patch new file mode 100644 index 000000000..fb7d12027 --- /dev/null +++ b/patches/server/0095-Fix-MC-266334.patch @@ -0,0 +1,27 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: PadowYT2 +Date: Sun, 21 Jul 2024 15:16:54 +0300 +Subject: [PATCH] Fix MC-266334 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Co-Authored-By: Kobe ⑧ <102713261+HaHaWTH@users.noreply.github.com> + +diff --git a/src/main/java/net/minecraft/world/entity/decoration/ArmorStand.java b/src/main/java/net/minecraft/world/entity/decoration/ArmorStand.java +index 8e71d4d3874ff154eae423a8fb8f15ae08143f4d..e017341d273c7803cc1a78b93a971c41a299ce27 100644 +--- a/src/main/java/net/minecraft/world/entity/decoration/ArmorStand.java ++++ b/src/main/java/net/minecraft/world/entity/decoration/ArmorStand.java +@@ -516,6 +516,12 @@ public class ArmorStand extends LivingEntity { + boolean flag = source.is(DamageTypeTags.CAN_BREAK_ARMOR_STAND); + boolean flag1 = source.is(DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDS); + ++ // Leaf start ++ if (!flag && source.getDirectEntity() instanceof net.minecraft.world.entity.projectile.ShulkerBullet){ ++ return false; ++ } ++ // Leaf end ++ + if (!flag && !flag1) { + return false; + } else {