mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02: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:
@@ -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 == "")
|
||||
|
Reference in New Issue
Block a user