mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Revert custom player collision box and step height commits
These caused inability to pass through 2 node high spaces or step up onto slabs or steps when a new client connected to an older server.
This commit is contained in:
parent
c07c642ab0
commit
da88a18676
7 changed files with 4 additions and 30 deletions
|
@ -1586,13 +1586,7 @@ void GenericCAO::processMessage(const std::string &data)
|
|||
}
|
||||
if (m_is_local_player) {
|
||||
LocalPlayer *player = m_env->getLocalPlayer();
|
||||
|
||||
player->makes_footstep_sound = m_prop.makes_footstep_sound;
|
||||
|
||||
aabb3f collisionbox = m_selection_box;
|
||||
collisionbox.MinEdge += v3f(0, BS, 0);
|
||||
collisionbox.MaxEdge += v3f(0, BS, 0);
|
||||
player->setCollisionbox(collisionbox);
|
||||
}
|
||||
|
||||
if ((m_is_player && !m_is_local_player) && m_prop.nametag == "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue