summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index bbcb64d33..9ae0b4adc 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -417,6 +417,9 @@ void cClientHandle::FinishAuthenticate(const AString & a_Name, const cUUID & a_U
// Send experience
m_Player->SendExperience();
+ // Send hotbar active slot
+ m_Player->SendHotbarActiveSlot();
+
// Send player list items
SendPlayerListAddPlayer(*m_Player);
cRoot::Get()->BroadcastPlayerListsAddPlayer(*m_Player);
@@ -2635,6 +2638,15 @@ void cClientHandle::SendHealth(void)
+void cClientHandle::SendHeldItemChange(int a_ItemIndex)
+{
+ m_Protocol->SendHeldItemChange(a_ItemIndex);
+}
+
+
+
+
+
void cClientHandle::SendHideTitle(void)
{
m_Protocol->SendHideTitle();