summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntityWithItems.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-28 14:11:41 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-28 14:11:41 +0200
commita9243257e583ae22d7a27f6439f6eb973f7e11ce (patch)
treef9526a0fc87f64dd10fa3f414736009210bb2192 /src/BlockEntities/BlockEntityWithItems.h
parentSuggestions (diff)
downloadcuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.gz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.bz2
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.lz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.xz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.zst
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.zip
Diffstat (limited to 'src/BlockEntities/BlockEntityWithItems.h')
-rw-r--r--src/BlockEntities/BlockEntityWithItems.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/BlockEntityWithItems.h b/src/BlockEntities/BlockEntityWithItems.h
index f26ef07dd..00173cbcb 100644
--- a/src/BlockEntities/BlockEntityWithItems.h
+++ b/src/BlockEntities/BlockEntityWithItems.h
@@ -36,8 +36,8 @@ public:
cWorld * a_World // Optional world to assign to the entity
) :
super(a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World),
- m_Contents(a_ItemGridWidth, a_ItemGridHeight),
- cBlockEntityWindowOwner(this)
+ cBlockEntityWindowOwner(this),
+ m_Contents(a_ItemGridWidth, a_ItemGridHeight)
{
m_Contents.AddListener(*this);
}