Fixed bug where animals were being burned to monster settings

This commit is contained in:
tastybento 2019-03-09 22:53:59 -08:00
parent f155fbaa37
commit 7a7c34af56

View File

@ -53,7 +53,7 @@ public class AcidTask {
((LivingEntity) e).damage(addon.getSettings().getAcidDamageMonster()); ((LivingEntity) e).damage(addon.getSettings().getAcidDamageMonster());
} else if ((e instanceof Animals) && addon.getSettings().getAcidDamageAnimal() > 0D } else if ((e instanceof Animals) && addon.getSettings().getAcidDamageAnimal() > 0D
&& (!e.getType().equals(EntityType.CHICKEN) || addon.getSettings().isAcidDamageChickens())) { && (!e.getType().equals(EntityType.CHICKEN) || addon.getSettings().isAcidDamageChickens())) {
((LivingEntity) e).damage(addon.getSettings().getAcidDamageMonster()); ((LivingEntity) e).damage(addon.getSettings().getAcidDamageAnimal());
} }
}), 0L, 20L); }), 0L, 20L);
} }