fix lava damage
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user