Disable flight state when riding entities (#368)

This commit is contained in:
Alezito2008 authored and GitHub committed 2026-03-04 13:21:21 +08:00
1 parent c8a8f9dd6c
commit 6c842b2854
1 file changed
+1
+1
View File
@@ -627,6 +627,7 @@ void Player::ride(shared_ptr<Entity> e)
return;
}
this->abilities.flying = false;
LivingEntity::ride(e);
}