From 9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 29 Jul 2013 21:42:05 +0200 Subject: 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 --- source/ClientHandle.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/ClientHandle.cpp') diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index d66e47d32..526d00b98 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -1491,6 +1491,15 @@ void cClientHandle::SendDisconnect(const AString & a_Reason) +void cClientHandle::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ) +{ + m_Protocol->SendEditSign(a_BlockX, a_BlockY, a_BlockZ); +} + + + + + void cClientHandle::SendEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) { m_Protocol->SendEntityEquipment(a_Entity, a_SlotNum, a_Item); -- cgit v1.2.3