summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
commitc7d5c00a17c8e4d79f6b0e855d88cc42876f63a9 (patch)
treeb45b5dc8f89d105cef77c8cb5b8f4be270e903fd /source/cClientHandle.cpp
parentAdded a CreateHexDump() function for easier raw data debugging (diff)
downloadcuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.gz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.bz2
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.lz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.xz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.zst
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.zip
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 6bd7610c9..f4f5125c2 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -244,7 +244,7 @@ void cClientHandle::Authenticate(void)
cRoot::Get()->GetPluginManager()->CallHook(cPluginManager::HOOK_PLAYER_SPAWN, 1, m_Player);
// Return a server login packet
- m_Protocol->SendLogin(*m_Player);
+ m_Protocol->SendLogin(*m_Player, *World);
// Send Weather if raining:
if ((World->GetWeather() == 1) || (World->GetWeather() == 2))