Please someone explain the code to me , its driving me crazy.
in this line this.status != Boat.Status.ON_LAND this.status is referring to the player right ? what i dont understand is that when the player is on the ground it would continue and deal damage and when he is in the air it would reset the fall distance, why is the condition with boat.status.ON_LAND, why not just ON_LAND or boat.status? what is p_38308_ ?, why is it checking if the player is on the boat? if (!this.isPassenger()
when is CheckFallDamage called?
why does this even exist if boats or players shouldn't even take damage from falling.
just add a condition that if the player is on a boat he doesn't take damage from falling
Please someone explain the code to me , its driving me crazy.
in this line
this.status != Boat.Status.ON_LAND
this.status is referring to the player right ? what i dont understand is that when the player is on the ground it would continue and deal damage and when he is in the air it would reset the fall distance, why is the condition with boat.status.ON_LAND, why not just ON_LAND or boat.status? what is p_38308_ ?, why is it checking if the player is on the boat?
if (!this.isPassenger()
when is CheckFallDamage called?
why does this even exist if boats or players shouldn't even take damage from falling.
just add a condition that if the player is on a boat he doesn't take damage from falling