1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

We always know playerSAO when calling SendInventory. Using it instead of searching it via peer_id

This commit is contained in:
Loic Blot 2015-03-04 15:27:53 +01:00
parent bbed01ab62
commit 7e088fdfe3
4 changed files with 12 additions and 12 deletions

View file

@ -374,7 +374,7 @@ public:
void SendPlayerHPOrDie(u16 peer_id, bool die) { die ? DiePlayer(peer_id) : SendPlayerHP(peer_id); }
void SendPlayerBreath(u16 peer_id);
void SendInventory(u16 peer_id);
void SendInventory(PlayerSAO* playerSAO);
void SendMovePlayer(u16 peer_id);
// Bind address