summaryrefslogtreecommitdiffstats
path: root/source/ManualBindings.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 23:28:19 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 23:28:19 +0100
commit4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa (patch)
treea4ebe965ce187a982e05fcaf8cf0ae5880948dc7 /source/ManualBindings.cpp
parentNew server command "unload" to manually unload unused chunks (diff)
downloadcuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar.gz
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar.bz2
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar.lz
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar.xz
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.tar.zst
cuberite-4a7883a5e3ab3692cb09ba5eebb45cf5a34c4bfa.zip
Diffstat (limited to '')
-rw-r--r--source/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index ea6c18e29..34934eebd 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -174,7 +174,7 @@ static int tolua_cWorld_ForEachPlayer(lua_State* tolua_S)
int TableRef;
} Callback( tolua_S, FuncRef, TableRef );
- bool bRetVal = self->ForEachPlayer( &Callback );
+ bool bRetVal = self->ForEachPlayer( Callback );
// Unreference the values again, so the LUA_REGISTRYINDEX can make place for other references
luaL_unref( tolua_S, LUA_REGISTRYINDEX, TableRef );