mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-06 02:05:30 +01:00
Restrict minimum state for ClientInterface::sendToAll
This commit is contained in:
@@ -458,7 +458,7 @@ public:
|
||||
void sendCustom(session_t peer_id, u8 channel, NetworkPacket *pkt, bool reliable);
|
||||
|
||||
/* send to all clients */
|
||||
void sendToAll(NetworkPacket *pkt);
|
||||
void sendToAll(NetworkPacket *pkt, ClientState state_min = CS_Active);
|
||||
|
||||
/* delete a client */
|
||||
void DeleteClient(session_t peer_id);
|
||||
|
||||
Reference in New Issue
Block a user