diff options
Diffstat (limited to 'src/Bindings/ManualBindings_World.cpp')
-rw-r--r-- | src/Bindings/ManualBindings_World.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp index 9bb9778dd..f24e5ac34 100644 --- a/src/Bindings/ManualBindings_World.cpp +++ b/src/Bindings/ManualBindings_World.cpp @@ -296,10 +296,7 @@ static int tolua_cWorld_GetBlockInfo(lua_State * tolua_S) L.Push(res); if (res) { - L.Push(BlockType); - L.Push(BlockMeta); - L.Push(BlockSkyLight); - L.Push(BlockBlockLight); + L.Push(BlockType, BlockMeta, BlockSkyLight, BlockBlockLight); return 5; } return 1; @@ -345,8 +342,7 @@ static int tolua_cWorld_GetBlockTypeMeta(lua_State * tolua_S) L.Push(res); if (res) { - L.Push(BlockType); - L.Push(BlockMeta); + L.Push(BlockType, BlockMeta); return 3; } return 1; @@ -390,10 +386,7 @@ static int tolua_cWorld_GetSignLines(lua_State * tolua_S) L.Push(res); if (res) { - L.Push(Line1); - L.Push(Line2); - L.Push(Line3); - L.Push(Line4); + L.Push(Line1, Line2, Line3, Line4); return 5; } return 1; |