mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
Use actionstream instead of errorstream when failing to emerge player
This commit is contained in:
parent
6f8bdda90e
commit
bc55ef337c
@ -576,7 +576,7 @@ void Server::handleCommand_Init_Legacy(NetworkPacket* pkt)
|
|||||||
static_cast<RemotePlayer*>(m_env->getPlayer(playername));
|
static_cast<RemotePlayer*>(m_env->getPlayer(playername));
|
||||||
|
|
||||||
if (player && player->peer_id != 0) {
|
if (player && player->peer_id != 0) {
|
||||||
errorstream << "Server: " << playername << ": Failed to emerge player"
|
actionstream << "Server: " << playername << ": Failed to emerge player"
|
||||||
<< " (player allocated to an another client)" << std::endl;
|
<< " (player allocated to an another client)" << std::endl;
|
||||||
DenyAccess_Legacy(pkt->getPeerId(), L"Another client is connected with this "
|
DenyAccess_Legacy(pkt->getPeerId(), L"Another client is connected with this "
|
||||||
L"name. If your client closed unexpectedly, try again in "
|
L"name. If your client closed unexpectedly, try again in "
|
||||||
|
Loading…
Reference in New Issue
Block a user