1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Network:Remove old opcodes and fix documentation. (#5573)

This commit is contained in:
red-001
2017-04-22 12:59:02 +01:00
committed by Loïc Blot
parent 4c03190ce8
commit 0c34fe20a1
7 changed files with 7 additions and 28 deletions

View File

@@ -587,11 +587,6 @@ void Client::handleCommand_MovePlayer(NetworkPacket* pkt)
m_ignore_damage_timer = 3.0;
}
void Client::handleCommand_PlayerItem(NetworkPacket* pkt)
{
warningstream << "Client: Ignoring TOCLIENT_PLAYERITEM" << std::endl;
}
void Client::handleCommand_DeathScreen(NetworkPacket* pkt)
{
bool set_camera_point_target;
@@ -718,11 +713,6 @@ void Client::handleCommand_Media(NetworkPacket* pkt)
}
}
void Client::handleCommand_ToolDef(NetworkPacket* pkt)
{
warningstream << "Client: Ignoring TOCLIENT_TOOLDEF" << std::endl;
}
void Client::handleCommand_NodeDef(NetworkPacket* pkt)
{
infostream << "Client: Received node definitions: packet size: "
@@ -743,11 +733,6 @@ void Client::handleCommand_NodeDef(NetworkPacket* pkt)
m_nodedef_received = true;
}
void Client::handleCommand_CraftItemDef(NetworkPacket* pkt)
{
warningstream << "Client: Ignoring TOCLIENT_CRAFTITEMDEF" << std::endl;
}
void Client::handleCommand_ItemDef(NetworkPacket* pkt)
{
infostream << "Client: Received item definitions: packet size: "