1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 13:25:27 +01:00

Inventory: Restrict access from too far away

This commit is contained in:
SmallJoker
2017-11-22 19:25:26 +01:00
parent 8fba3c93d5
commit f72ac42ca0
2 changed files with 46 additions and 22 deletions

View File

@@ -481,6 +481,7 @@ private:
void RespawnPlayer(u16 peer_id);
void DeleteClient(u16 peer_id, ClientDeletionReason reason);
void UpdateCrafting(RemotePlayer *player);
bool checkInteractDistance(RemotePlayer *player, const f32 d, const std::string what);
void handleChatInterfaceEvent(ChatEvent *evt);