From 86cf792fb21fd118af5a1cbf5c707491ae3d219f Mon Sep 17 00:00:00 2001 From: Atsuishio <842960157@qq.com> Date: Thu, 19 Jun 2025 14:40:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=A5=B3=E5=B7=AB=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=88=B0=E9=95=87=E6=9A=B4=E5=BC=B9=E5=A2=9E=E4=BC=A4=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=BD=93=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../superbwarfare/entity/projectile/ProjectileEntity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/projectile/ProjectileEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/projectile/ProjectileEntity.java index 6ebb96e9d..d06cc5179 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/projectile/ProjectileEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/projectile/ProjectileEntity.java @@ -40,6 +40,7 @@ import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.monster.Monster; import net.minecraft.world.entity.monster.Ravager; import net.minecraft.world.entity.monster.Vex; +import net.minecraft.world.entity.monster.Witch; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.projectile.Projectile; import net.minecraft.world.item.ItemStack; @@ -523,7 +524,7 @@ public class ProjectileEntity extends Projectile implements IEntityWithComplexSp this.damage *= this.undeadMultiple; } - if (entity instanceof LivingEntity living && (living.getType().is(EntityTypeTags.ILLAGER) || living instanceof Vex || living instanceof Ravager)) { + if (entity instanceof LivingEntity living && (living.getType().is(EntityTypeTags.ILLAGER) || living instanceof Vex || living instanceof Ravager || living instanceof Witch)) { this.damage *= this.illagerMultiple; }