summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index 08e22c546..6aec8a834 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -79,7 +79,7 @@ public:
cRideableMinecart(double a_X, double a_Y, double a_Z, const cItem & a_Content, int a_Height);
- cItem GetContent(void) const {return m_Content;}
+ const cItem & GetContent(void) const {return m_Content;}
int GetBlockHeight(void) const {return m_Height;}
// cEntity overrides:
virtual void OnRightClicked(cPlayer & a_Player) override;