summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorMax Luchterhand <52720531+maxluchterhand1@users.noreply.github.com>2020-03-18 18:17:59 +0100
committerGitHub <noreply@github.com>2020-03-18 18:17:59 +0100
commit384ba1881237bbefd03488d7de3e4eaae80d9d27 (patch)
treeb3470142fc1b47645925bcb4ba345e6bd2992291 /src/Chunk.h
parentBlocks only drop pickups when using correct tool (#4505) (diff)
downloadcuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar.gz
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar.bz2
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar.lz
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar.xz
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.tar.zst
cuberite-384ba1881237bbefd03488d7de3e4eaae80d9d27.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index f6e38dc81..9aa963fae 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -683,6 +683,9 @@ private:
/** Called by Tick() when an entity moves out of this chunk into a neighbor; moves the entity and sends spawn / despawn packet to clients */
void MoveEntityToNewChunk(OwnedEntity a_Entity);
+
+ /** Check m_Entities for cPlayer objects. */
+ bool HasPlayerEntities();
};
typedef cChunk * cChunkPtr;