1
0

Added the "Edit Sign" packet sent to the client placing a sign.

Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet
This commit is contained in:
madmaxoft
2013-07-29 21:42:05 +02:00
parent 3920e872f7
commit 9efcd5b82f
10 changed files with 65 additions and 0 deletions

View File

@@ -278,6 +278,19 @@ void cProtocol125::SendDisconnect(const AString & a_Reason)
void cProtocol125::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ)
{
// This protocol version doesn't support this packet, sign editor is invoked by the client automatically
UNUSED(a_BlockX);
UNUSED(a_BlockY);
UNUSED(a_BlockZ);
}
void cProtocol125::SendEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item)
{
cCSLock Lock(m_CSPacket);