summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-05-28 20:08:23 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-28 20:08:23 +0200
commitad4172d21c291dd1ab791900df45dfce5368bbd2 (patch)
tree02304790e5f7ad5ea199adb67eb88e9886369b02 /src/Bindings/ManualBindings.cpp
parentDouble chest window fix (#3735) (diff)
downloadcuberite-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 'src/Bindings/ManualBindings.cpp')
-rw-r--r--src/Bindings/ManualBindings.cpp3
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;
}