mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-22 23:58:48 -05:00
Return to ignore
This commit is contained in:
parent
b13809f0c0
commit
3d43df99f1
@ -880,6 +880,7 @@ void Client::ProcessData(NetworkPacket *pkt)
|
||||
if (command >= TOCLIENT_NUM_MSG_TYPES) {
|
||||
infostream << "Client: Ignoring unknown command "
|
||||
<< command << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1206,6 +1206,7 @@ void Server::ProcessData(NetworkPacket *pkt)
|
||||
if (command >= TOSERVER_NUM_MSG_TYPES) {
|
||||
infostream << "Server: Ignoring unknown command "
|
||||
<< command << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
if (toServerCommandTable[command].state == TOSERVER_STATE_NOT_CONNECTED) {
|
||||
|
Loading…
Reference in New Issue
Block a user