summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-12-08 09:57:46 +0100
committerVincent <vincent.leung60@gmail.com>2014-12-08 09:57:46 +0100
commite28cc876c4aa4d71f821fca45b5486b8ef6cca4e (patch)
tree4b167adf142f29341bbcee45c3f3ee1caf61efea /src/ClientHandle.cpp
parentFixed compile errors (diff)
downloadcuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar.gz
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar.bz2
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar.lz
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar.xz
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.tar.zst
cuberite-e28cc876c4aa4d71f821fca45b5486b8ef6cca4e.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 6f7bd1faf..6fe7cbd4a 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1807,7 +1807,7 @@ bool cClientHandle::CheckMultiLogin(const AString & a_Username)
}
} Callback;
- if (cRoot::Get()->GetDefaultWorld()->DoWithPlayer(a_Username, Callback))
+ if (cRoot::Get()->DoWithPlayer(a_Username, Callback))
{
Kick("A player of the username is already logged in");
return false;