diff options
author | madmaxoft <github@xoft.cz> | 2013-11-15 10:15:27 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-15 10:15:27 +0100 |
commit | 49d6afd501c16a782881e30bce2f908d730ce767 (patch) | |
tree | 35c50dc1722e0af2bffc563e18c7ec49c61a459f /source/BlockEntities | |
parent | cRoot::SaveAllChunks() doesn't wait for the save (deadlocks). (diff) | |
download | cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar.gz cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar.bz2 cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar.lz cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar.xz cuberite-49d6afd501c16a782881e30bce2f908d730ce767.tar.zst cuberite-49d6afd501c16a782881e30bce2f908d730ce767.zip |
Diffstat (limited to '')
-rw-r--r-- | source/BlockEntities/BlockEntity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/BlockEntities/BlockEntity.h b/source/BlockEntities/BlockEntity.h index 6a6ffb448..a2de3160a 100644 --- a/source/BlockEntities/BlockEntity.h +++ b/source/BlockEntities/BlockEntity.h @@ -47,13 +47,13 @@ public: m_World = a_World; } - // tolua_begin - /// Creates a new block entity for the specified block type /// If a_World is valid, then the entity is created bound to that world /// Returns NULL for unknown block types static cBlockEntity * CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World = NULL); + // tolua_begin + // Position, in absolute block coordinates: int GetPosX(void) const { return m_PosX; } int GetPosY(void) const { return m_PosY; } |