
# -> Remove restoration tag
tag @s remove OverlyRealistic.Player.NeedsAttributeRestoration

# -> If player is in the air then move to the ground
execute if block ~ ~-1 ~ #air \
    positioned over motion_blocking_no_leaves run \
        tp ~ ~ ~

# -> Stop bleeding
scoreboard players set @s OverlyRealistic.Player.BleedingTimer 0

# -> If player is sick then clear illness
execute if entity @s[tag=OverlyRealistic.Player.IsSick] run \
    function overly_realistic:players/illness/clear_illness

# -> Resistance
effect give @s resistance 10 250 true
