summaryrefslogtreecommitdiffstats
path: root/source/ChestEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ChestEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ChestEntity.h b/source/ChestEntity.h
index be8172073..69e86b86c 100644
--- a/source/ChestEntity.h
+++ b/source/ChestEntity.h
@@ -41,8 +41,8 @@ public:
static const char * GetClassStatic() { return "cChestEntity"; }
// tolua_begin
- const cItem & GetSlot(int a_Slot) const { return m_Contents.GetItem(a_Slot); }
- void SetSlot(int a_Slot, const cItem & a_Item ) { m_Contents.SetItem(a_Slot, a_Item); }
+ const cItem & GetSlot(int a_Slot) const { return m_Contents.GetSlot(a_Slot); }
+ void SetSlot(int a_Slot, const cItem & a_Item ) { m_Contents.SetSlot(a_Slot, a_Item); }
// tolua_end
bool LoadFromJson( const Json::Value& a_Value );