diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-15 15:22:44 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-15 15:22:44 +0100 |
commit | 1aebcea095e92572a39cb6555cba8517234b156c (patch) | |
tree | bbef44ce857aa49b2171ef43bedc2e802fbd5dd8 /source/cChestEntity.h | |
parent | Can now pass any argument to cWorld:ForEachPlayer in Lua! But I'm not even using it.. lol (diff) | |
download | cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar.gz cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar.bz2 cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar.lz cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar.xz cuberite-1aebcea095e92572a39cb6555cba8517234b156c.tar.zst cuberite-1aebcea095e92572a39cb6555cba8517234b156c.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChestEntity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cChestEntity.h b/source/cChestEntity.h index 6d26d069f..d3d98739b 100644 --- a/source/cChestEntity.h +++ b/source/cChestEntity.h @@ -44,14 +44,14 @@ public: void SendTo( cClientHandle* a_Client, cServer* a_Server );
- virtual void UsedBy( cPlayer & a_Player );
+ virtual void UsedBy( cPlayer * a_Player ) override;
cChestEntity *GetJoinedChest() { return m_JoinedChest; }
void SetJoinedChest(cChestEntity *a_Chest) { m_JoinedChest = a_Chest; }
void RemoveJoinedChest(cChestEntity *a_Chest) { if (m_JoinedChest && m_JoinedChest == a_Chest) { m_JoinedChest = NULL; m_TopChest = false; } }
int GetChestHeight() { return ((m_JoinedChest) ? c_ChestHeight * 2 : c_ChestHeight); }
- cItem *GetContents(bool a_OnlyThis = false);
+ cItem * GetContents(bool a_OnlyThis = false);
static const int c_ChestWidth = 9;
static const int c_ChestHeight = 3;
|