diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 01:54:38 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 01:54:38 +0100 |
commit | f8c8dcc7f36366dc6b59e6741d466e739322d5d1 (patch) | |
tree | 0462f2482c311fc4d3afbf39ef5858eccb1706d8 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Merge pull request #557 from xdot/master (diff) | |
download | cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.gz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.bz2 cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.lz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.xz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.zst cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index a21f4f042..579469fb4 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -636,6 +636,16 @@ void cProtocolRecognizer::SendUnloadChunk(int a_ChunkX, int a_ChunkZ) +void cProtocolRecognizer::SendUpdateBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ, Byte a_Action, cFastNBTWriter & a_NBT) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendUpdateBlockEntity(a_BlockX, a_BlockY, a_BlockZ, a_Action, a_NBT); +} + + + + + void cProtocolRecognizer::SendUpdateSign(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4) { ASSERT(m_Protocol != NULL); |