#[HELP] Weird Behaviour In EntityDamageByEntityEvent if Statement

1 messages · Page 1 of 1 (latest)

torn bolt
sullen bear
#

Also ur setting their health to 20

#

I believe 20 is max health

torn bolt
#

Yes thats what I'm trying to do

#

I'm making it so when they're hit they dont take damage but still take knockback

#

should I delay it by a tick instead?

#

@sullen bear sorry for ping but I'm really struggling here

#

I delayed the set player health by 1 tick
but it still happens

sullen bear
#

I believe you can set the damage taken @torn bolt

#

event.setDamage(0);