diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:34:23 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:34:23 +0200 |
commit | 167247328a663cba69d752cf1042028becb6266c (patch) | |
tree | fb8fe94e019175b909bd8ee71280559d17e810fe | |
parent | Simplify MoveEntityToNewChunk (diff) | |
download | cuberite-167247328a663cba69d752cf1042028becb6266c.tar cuberite-167247328a663cba69d752cf1042028becb6266c.tar.gz cuberite-167247328a663cba69d752cf1042028becb6266c.tar.bz2 cuberite-167247328a663cba69d752cf1042028becb6266c.tar.lz cuberite-167247328a663cba69d752cf1042028becb6266c.tar.xz cuberite-167247328a663cba69d752cf1042028becb6266c.tar.zst cuberite-167247328a663cba69d752cf1042028becb6266c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index 855ddfc66..47eb4628d 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -586,7 +586,7 @@ private: cBlockEntities m_BlockEntities; /** Number of times the chunk has been requested to stay (by various cChunkStay objects); if zero, the chunk can be unloaded */ - int m_StayCount; + unsigned m_StayCount; int m_PosX, m_PosZ; cWorld * m_World; @@ -616,8 +616,7 @@ private: /** If greater than zero, the chunk is ticked even if it has no clients. Manipulated by the SetAlwaysTicked() function, allows for nested calls of the function. This is the support for plugin-accessible chunk tick forcing. */ - int m_AlwaysTicked; - + unsigned m_AlwaysTicked; // Pick up a random block of this chunk void GetRandomBlockCoords(int & a_X, int & a_Y, int & a_Z); |