Disable flight state when riding entities (#368)
This commit is contained in:
parent
c8a8f9dd6c
commit
6c842b2854
|
|
@ -627,6 +627,7 @@ void Player::ride(shared_ptr<Entity> e)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this->abilities.flying = false;
|
||||||
LivingEntity::ride(e);
|
LivingEntity::ride(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue