mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Return to ignore
This commit is contained in:
@@ -880,6 +880,7 @@ void Client::ProcessData(NetworkPacket *pkt)
|
|||||||
if (command >= TOCLIENT_NUM_MSG_TYPES) {
|
if (command >= TOCLIENT_NUM_MSG_TYPES) {
|
||||||
infostream << "Client: Ignoring unknown command "
|
infostream << "Client: Ignoring unknown command "
|
||||||
<< command << std::endl;
|
<< command << std::endl;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -1206,6 +1206,7 @@ void Server::ProcessData(NetworkPacket *pkt)
|
|||||||
if (command >= TOSERVER_NUM_MSG_TYPES) {
|
if (command >= TOSERVER_NUM_MSG_TYPES) {
|
||||||
infostream << "Server: Ignoring unknown command "
|
infostream << "Server: Ignoring unknown command "
|
||||||
<< command << std::endl;
|
<< command << std::endl;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (toServerCommandTable[command].state == TOSERVER_STATE_NOT_CONNECTED) {
|
if (toServerCommandTable[command].state == TOSERVER_STATE_NOT_CONNECTED) {
|
||||||
|
Reference in New Issue
Block a user