Disable flight state when riding entities (#368)

This commit is contained in:
Alezito2008 2026-03-04 02:21:21 -03:00 committed by GitHub
parent c8a8f9dd6c
commit 6c842b2854
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -627,6 +627,7 @@ void Player::ride(shared_ptr<Entity> e)
return;
}
this->abilities.flying = false;
LivingEntity::ride(e);
}