summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-28 19:08:33 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-28 19:08:33 +0200
commit4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad (patch)
treec37ea13efdbaf2c52805490d4e502e5b8e794aff /src/Bindings
parentcRankManager: Added ClearPlayerRanks() (diff)
downloadcuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar.gz
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar.bz2
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar.lz
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar.xz
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.tar.zst
cuberite-4391b3fc0910e3e51f2b6a8bf6d319933a2cc8ad.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/ManualBindings_RankManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_RankManager.cpp b/src/Bindings/ManualBindings_RankManager.cpp
index cddf1ec2e..6e623af0d 100644
--- a/src/Bindings/ManualBindings_RankManager.cpp
+++ b/src/Bindings/ManualBindings_RankManager.cpp
@@ -975,7 +975,7 @@ static int tolua_cRankManager_SetDefaultRank(lua_State * L)
// Set the rank, return the result:
S.Push(cRoot::Get()->GetRankManager().SetDefaultRank(RankName));
- return 0;
+ return 1;
}