minecart tnt fix

This commit is contained in:
Lord_Cambion
2026-03-28 14:44:56 +01:00
parent a282314267
commit 6fe251b2ec
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -1384,6 +1384,7 @@ void Player::setDefaultHeadHeight()
bool Player::hurt(DamageSource *source, float dmg)
{
if (isInvulnerable()) return false;
if ( hasInvulnerablePrivilege() || (abilities.invulnerable && !source->isBypassInvul()) ) return false;
// 4J-JEV: Fix for PSVita: #3987 - [IN GAME] The user can take damage/die, when attempting to re-enter fly mode when falling from a height.