summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 20:14:23 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 20:14:23 +0100
commite7ea352f41b867dad83d170b7382b22a46f25c49 (patch)
treee37ed55018238c84445eb60302c825726ebaf4e9 /source/cWorld.cpp
parentMakefile cleanup - read COMPILING for details on *nix compilation (diff)
downloadcuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar.gz
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar.bz2
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar.lz
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar.xz
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.tar.zst
cuberite-e7ea352f41b867dad83d170b7382b22a46f25c49.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp
index c007070c6..737751901 100644
--- a/source/cWorld.cpp
+++ b/source/cWorld.cpp
@@ -989,26 +989,6 @@ bool cWorld::ForEachPlayer(cPlayerListCallback * a_Callback)
-
-void cWorld::GetAllPlayers( lua_State* L )
-{
- lua_createtable(L, m_Players.size(), 0);
- int newTable = lua_gettop(L);
- int index = 1;
- cPlayerList::const_iterator iter = m_Players.begin();
- while(iter != m_Players.end())
- {
- tolua_pushusertype( L, (*iter), "cPlayer" );
- lua_rawseti(L, newTable, index);
- ++iter;
- ++index;
- }
-}
-
-
-
-
-
// TODO: This interface is dangerous!
cPlayer* cWorld::GetPlayer( const char* a_PlayerName )
{