Discussion in 'Development' started by b3st_Thunder78, Aug 5, 2019.
How can one program that one gets no fall damage more?
Sry but how is the Code?
the code feels nice today thank you for asking
you can listen for the event EntityDamageEvent, then check if the cause is fall damage using EntityDamageEvent->getCause(), if it is, then cancel it
Or make a task that constantly does $player->resetFallDamage(); lmao
But the other solution is better)
Separate names with a comma.