mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 04:35:20 +01:00
small fixes here and there
This commit is contained in:
@@ -3406,7 +3406,8 @@ void Server::handlePeerChange(PeerChange &c)
|
||||
// Set player client disconnected
|
||||
{
|
||||
Player *player = m_env.getPlayer(c.peer_id);
|
||||
player->peer_id = 0;
|
||||
if(player != NULL)
|
||||
player->peer_id = 0;
|
||||
}
|
||||
|
||||
// Delete client
|
||||
|
||||
Reference in New Issue
Block a user