diff options
author | Mattes D <github@xoft.cz> | 2016-08-21 11:03:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-21 11:03:10 +0200 |
commit | d4aff474c29d3d9b1a524cfcd5fca925dab79c5b (patch) | |
tree | 6fb19fb62a7f268e827e9aef92a5c4e424572ede /src/Bindings/ManualBindings_RankManager.cpp | |
parent | Fix minecart destruction crash (#3336) (diff) | |
download | cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar.gz cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar.bz2 cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar.lz cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar.xz cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.tar.zst cuberite-d4aff474c29d3d9b1a524cfcd5fca925dab79c5b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings_RankManager.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Bindings/ManualBindings_RankManager.cpp b/src/Bindings/ManualBindings_RankManager.cpp index 99c0cc63f..7871c26ef 100644 --- a/src/Bindings/ManualBindings_RankManager.cpp +++ b/src/Bindings/ManualBindings_RankManager.cpp @@ -489,9 +489,7 @@ static int tolua_cRankManager_GetPlayerMsgVisuals(lua_State * L) } // Push the results: - S.Push(MsgPrefix); - S.Push(MsgSuffix); - S.Push(MsgNameColorCode); + S.Push(MsgPrefix, MsgSuffix, MsgNameColorCode); return 3; } @@ -752,9 +750,7 @@ static int tolua_cRankManager_GetRankVisuals(lua_State * L) } // Push the results: - S.Push(MsgPrefix); - S.Push(MsgSuffix); - S.Push(MsgNameColorCode); + S.Push(MsgPrefix, MsgSuffix, MsgNameColorCode); return 3; } |