summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-11-30 00:46:31 +0100
committerVincent <vincent.leung60@gmail.com>2014-11-30 00:46:31 +0100
commit20dcceb7e6a8810525fd873f29e665759bdde087 (patch)
tree6db34c5092bfb98df66c41431001d97bb3a66587 /src/World.cpp
parentUses callback for players already in World. (diff)
downloadcuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar.gz
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar.bz2
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar.lz
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar.xz
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.tar.zst
cuberite-20dcceb7e6a8810525fd873f29e665759bdde087.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/World.cpp b/src/World.cpp
index e6a2f161a..100df5742 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -3667,18 +3667,3 @@ void cWorld::cChunkGeneratorCallbacks::CallHookChunkGenerated (cChunkDesc & a_Ch
-std::list<AString> cWorld::GetUsernames()
-{
- std::list<AString> usernames;
- cCSLock Lock(m_CSPlayers);
- for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr)
- {
- AString username = (*itr)->GetName();
- usernames.insert(usernames.begin(),username);
- }
- return usernames;
-}
-
-
-
-