summaryrefslogtreecommitdiffstats
path: root/source/Minecart.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-09 21:08:39 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-09 21:08:39 +0100
commite694893edf835d426eba8e1da042f7a65ec06c1e (patch)
tree68d75f171b2a95b923421199781f8b2a1057d120 /source/Minecart.h
parentPickups are now being saved into Anvil. (diff)
downloadcuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar.gz
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar.bz2
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar.lz
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar.xz
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.tar.zst
cuberite-e694893edf835d426eba8e1da042f7a65ec06c1e.zip
Diffstat (limited to 'source/Minecart.h')
-rw-r--r--source/Minecart.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Minecart.h b/source/Minecart.h
index 17c766fb8..d3ca22f4b 100644
--- a/source/Minecart.h
+++ b/source/Minecart.h
@@ -80,10 +80,10 @@ public:
cMinecartWithChest(double a_X, double a_Y, double a_Z);
- const cItem & GetItem(int a_Idx) const { return m_Items[a_Idx]; }
- cItem & GetItem(int a_Idx) { return m_Items[a_Idx]; }
+ const cItem & GetSlot(int a_Idx) const { return m_Items[a_Idx]; }
+ cItem & GetSlot(int a_Idx) { return m_Items[a_Idx]; }
- void SetItem(int a_Idx, const cItem & a_Item);
+ void SetSlot(int a_Idx, const cItem & a_Item);
protected: