mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Clients inform server on wielded item
This is done with the new TOSERVER_PLAYERITEM message, that informs the server on the index of the wielded item.
This commit is contained in:
@@ -318,6 +318,8 @@ private:
|
||||
void sendPlayerPos();
|
||||
// This sends the player's current name etc to the server
|
||||
void sendPlayerInfo();
|
||||
// Send the item number 'item' as player item to the server
|
||||
void sendPlayerItem(u16 item);
|
||||
|
||||
float m_packetcounter_timer;
|
||||
float m_connection_reinit_timer;
|
||||
|
Reference in New Issue
Block a user