summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-08 17:33:38 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-08 17:33:38 +0100
commit307fad0f257c825c8d433a3e82f2989a8fddd3e0 (patch)
treedf7f820f17893aed860d890b402ca64dd3122b78 /src/Entities/Minecart.h
parentActually Fixed ByteBuffer (diff)
downloadcuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.gz
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.bz2
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.lz
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.xz
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.zst
cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index 073e78953..ebdb576e0 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -122,7 +122,7 @@ public:
const cItem & GetSlot(int a_Idx) const { return m_Items[a_Idx]; }
cItem & GetSlot(int a_Idx) { return m_Items[a_Idx]; }
- void SetSlot(int a_Idx, const cItem & a_Item);
+ void SetSlot(size_t a_Idx, const cItem & a_Item);
protected:
@@ -193,4 +193,4 @@ public:
CLASS_PROTODEF(cMinecartWithHopper);
cMinecartWithHopper(double a_X, double a_Y, double a_Z);
-} ; \ No newline at end of file
+} ;