mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Readd Client::sendPlayerPos optimization (was part of 81c7f0a
)
This reverts commit b49dfa92ce
.
This commit is contained in:
@@ -1275,9 +1275,8 @@ void Client::sendPlayerPos()
|
||||
// Save bandwidth by only updating position when
|
||||
// player is not dead and something changed
|
||||
|
||||
// FIXME: This part causes breakages in mods like 3d_armor, and has been commented for now
|
||||
// if (m_activeobjects_received && player->isDead())
|
||||
// return;
|
||||
if (m_activeobjects_received && player->isDead())
|
||||
return;
|
||||
|
||||
if (
|
||||
player->last_position == player->getPosition() &&
|
||||
|
Reference in New Issue
Block a user