diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-05-28 20:08:23 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-28 20:08:23 +0200 |
commit | ad4172d21c291dd1ab791900df45dfce5368bbd2 (patch) | |
tree | 02304790e5f7ad5ea199adb67eb88e9886369b02 /src/Bindings/ManualBindings.cpp | |
parent | Double chest window fix (#3735) (diff) | |
download | cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar.gz cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar.bz2 cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar.lz cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar.xz cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.tar.zst cuberite-ad4172d21c291dd1ab791900df45dfce5368bbd2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index 1ad427331..d8bd8b023 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -3087,7 +3087,8 @@ static int tolua_cRoot_GetBrewingRecipe(lua_State * tolua_S) } // Push the output item - L.Push(Recipe->Output.get()); + cItem & OutItem = const_cast<cItem &>(Recipe->Output); + L.Push(&OutItem); return 1; } |