1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Inventory: Restrict access from too far away

This commit is contained in:
SmallJoker
2017-11-22 19:25:26 +01:00
committed by paramat
parent 912ba1e47f
commit 990d0b0264
2 changed files with 46 additions and 22 deletions

View File

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