mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-12-23 09:37:43 +01:00
Fixed bug where animals were being burned to monster settings
This commit is contained in:
parent
f155fbaa37
commit
7a7c34af56
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user