summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 19:28:21 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 19:28:21 +0100
commit993680a39e5c63ef0b370c7f80fa932ede993870 (patch)
tree612797de94addb518921babb48c7520758f8a642 /source/cClientHandle.cpp
parentSome more changes to redstone. (diff)
downloadcuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar.gz
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar.bz2
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar.lz
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar.xz
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.tar.zst
cuberite-993680a39e5c63ef0b370c7f80fa932ede993870.zip
Diffstat (limited to 'source/cClientHandle.cpp')
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 8409fce66..655048180 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -1160,7 +1160,7 @@ void cClientHandle::Tick(float a_Dt)
cWorld* World = cRoot::Get()->GetWorld( m_Player->GetLoadedWorldName() ); // TODO - Get the correct world or better yet, move this to the main thread so we don't have to lock anything
if( !World ) World = cRoot::Get()->GetDefaultWorld();
World->LockEntities();
- m_Player->SetGameMode ( World->GetGameMode() ); //set player's gamemode to server's gamemode at login.
+ m_Player->LoginSetGameMode ( World->GetGameMode() ); //set player's gamemode to server's gamemode at login.
m_Player->SetIP ( m_pState->Socket.GetIPString() );