mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Fix inventory glitch when connecting as new user
This commit is contained in:
@@ -46,6 +46,7 @@ ServerRemotePlayer::ServerRemotePlayer(ServerEnvironment *env, v3f pos_, u16 pee
|
|||||||
ServerActiveObject(env, pos_),
|
ServerActiveObject(env, pos_),
|
||||||
m_last_good_position(0,0,0),
|
m_last_good_position(0,0,0),
|
||||||
m_last_good_position_age(0),
|
m_last_good_position_age(0),
|
||||||
|
m_wield_index(0),
|
||||||
m_inventory_not_sent(false),
|
m_inventory_not_sent(false),
|
||||||
m_hp_not_sent(false),
|
m_hp_not_sent(false),
|
||||||
m_is_in_environment(false),
|
m_is_in_environment(false),
|
||||||
|
Reference in New Issue
Block a user