How do I disable fall damage in Minecraft?

fa
5

I have a little question how do I disable fall damage in
Minecraft version 1.8 to 1.8.8 spigot?

Qu

For this you need plugins, or your own plugin. If you have anything to do with it, here is the listener:

@EventHandler
public void onEntityDamage (EntityDamageEvent event) {
if (event.getEntity () instanceof Player) {
if (event.getCause () == EntityDamageEvent.DamageCause.FALL) event.setCancelled (true);
}
}

If you have nothing to do with plugins, let me know, then I'll just make you a plugin that turns off fall damage.

fa

I have nothing to do with plugins, I honestly have no idea what listener it would be nice if you send me ^^

An

/ gamemode 1

Qu

Sorry, internet has not been going the last few days ^^ Add me to Discord, TaskID # 9972, then we'll see.

fa

@nurnebenbei I have now sent fa on discord