diff options
Diffstat (limited to 'source/Minecart.h')
-rw-r--r-- | source/Minecart.h | 6 |
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:
|