mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add minetest.kick_player(name, reason)
This commit is contained in:
@@ -330,6 +330,8 @@ public:
|
||||
void peerAdded(con::Peer *peer);
|
||||
void deletingPeer(con::Peer *peer, bool timeout);
|
||||
|
||||
void DenyAccess(u16 peer_id, const std::wstring &reason);
|
||||
|
||||
private:
|
||||
|
||||
friend class EmergeThread;
|
||||
@@ -415,7 +417,6 @@ private:
|
||||
|
||||
void DiePlayer(u16 peer_id);
|
||||
void RespawnPlayer(u16 peer_id);
|
||||
void DenyAccess(u16 peer_id, const std::wstring &reason);
|
||||
void DeleteClient(u16 peer_id, ClientDeletionReason reason);
|
||||
void UpdateCrafting(u16 peer_id);
|
||||
|
||||
|
Reference in New Issue
Block a user