summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-16 16:54:22 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-16 16:54:22 +0100
commitca835a05650cb1a722125fa438a05f70f8b3c2b8 (patch)
tree965b563727327bb2a1a8b32e43ada3e2a72fa369 /src/Entities
parentFixed server crash. (diff)
downloadcuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar.gz
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar.bz2
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar.lz
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar.xz
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.tar.zst
cuberite-ca835a05650cb1a722125fa438a05f70f8b3c2b8.zip
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;