summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 08:48:12 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 08:48:12 +0200
commite2a1118f88a32bd2912fc8abc81db0dacbb42531 (patch)
treec21ec409c38e257fd448c91d2062fcad6df2c534
parentAdded missing member initialization to cGridStructGen. (diff)
downloadcuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar.gz
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar.bz2
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar.lz
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar.xz
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.tar.zst
cuberite-e2a1118f88a32bd2912fc8abc81db0dacbb42531.zip
-rw-r--r--src/BlockEntities/FlowerPotEntity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/FlowerPotEntity.h b/src/BlockEntities/FlowerPotEntity.h
index da3fe9b7e..e3570eb9a 100644
--- a/src/BlockEntities/FlowerPotEntity.h
+++ b/src/BlockEntities/FlowerPotEntity.h
@@ -53,7 +53,7 @@ public:
cItem GetItem(void) const { return m_Item; }
/** Set the item in the flower pot */
- void SetItem(const cItem a_Item) { m_Item = a_Item; }
+ void SetItem(const cItem & a_Item) { m_Item = a_Item; }
// tolua_end