mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix inventory glitch when connecting as new user
This commit is contained in:
parent
c920df748b
commit
f22c73f501
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue