diff options
author | changyong guo <guo1487@163.com> | 2018-07-23 00:23:33 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2018-07-23 00:23:33 +0200 |
commit | 3e802932a6797fc0f4768ebc61cf9ac4f498c7fb (patch) | |
tree | 18dc1b8ce84c3202034c859a3d775c8beb2b68be /src/Protocol/ProtocolRecognizer.cpp | |
parent | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) (diff) | |
download | cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar.gz cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar.bz2 cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar.lz cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar.xz cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.tar.zst cuberite-3e802932a6797fc0f4768ebc61cf9ac4f498c7fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 912091acc..27ed2e6ad 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -428,6 +428,17 @@ void cProtocolRecognizer::SendHealth(void) +void cProtocolRecognizer::SendHeldItemChange(int a_ItemIndex) +{ + ASSERT(m_Protocol != nullptr); + m_Protocol->SendHeldItemChange(a_ItemIndex); +} + + + + + + void cProtocolRecognizer::SendHideTitle(void) { ASSERT(m_Protocol != nullptr); |