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