fix lava damage

This commit is contained in:
Badbird-5907
2021-08-26 19:09:03 -04:00
parent 2481c05831
commit ef8a5afd83

View File

@@ -275,7 +275,7 @@ public class Bot extends EntityPlayer {
if (noDamageTicks == 0) { if (noDamageTicks == 0) {
if (lava) { if (lava) {
damageEntity(DamageSource.LAVA, 4); damageEntity(DamageSource.LAVA, 4);
noDamageTicks = 12; noDamageTicks = 20;//this used to be 12 ticks but that would cause the bot to take damage too quickly
} else if (fireTicks > 1) { } else if (fireTicks > 1) {
damageEntity(DamageSource.FIRE, 1); damageEntity(DamageSource.FIRE, 1);
noDamageTicks = 20; noDamageTicks = 20;