diff --git a/src/main/java/io/github/afamiliarquiet/entity/BreathProjectileEntity.java b/src/main/java/io/github/afamiliarquiet/entity/BreathProjectileEntity.java index 6936382..7caa5c1 100644 --- a/src/main/java/io/github/afamiliarquiet/entity/BreathProjectileEntity.java +++ b/src/main/java/io/github/afamiliarquiet/entity/BreathProjectileEntity.java @@ -35,13 +35,6 @@ protected BreathProjectileEntity(EntityType entityType, this.setScale(1f); } - @SuppressWarnings("unused") // nyeh. it's maybe used by /summon or something... it stays. - protected BreathProjectileEntity(EntityType type, double x, double y, double z, World world) { - super(type, x, y, z, world); - this.statusEffects = new ArrayList<>(); - this.setScale(1f); - } - public BreathProjectileEntity(LivingEntity owner, World world, double scale) { super(MawEntities.BREATH_PROJECTILE_TYPE, owner, world); this.statusEffects = new ArrayList<>(owner.getStatusEffects() @@ -169,6 +162,7 @@ protected void onEntityHit(EntityHitResult entityHitResult) { // dunno if these checks for fire/splash immunity are necessary but.. // it's good to be respectful to the entity's wishes anyway + // would need to create my own damage type to properly add the attacker to the target's lastDamageSource if (!entity.isFireImmune()) { entity.setOnFireForTicks(beNice ? 13 : 20); }