summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 15:44:20 +0200
committerGitHub <noreply@github.com>2021-03-28 15:44:20 +0200
commit2687f2df30210ada485c28c98e52db08d460d5a3 (patch)
treed0b25a9c996c1dd72e3ed4840dded5e8642d4342 /src/Chunk.h
parentDo not fake a tool when converting to pickups (#5170) (diff)
downloadcuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar.gz
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar.bz2
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar.lz
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar.xz
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.tar.zst
cuberite-2687f2df30210ada485c28c98e52db08d460d5a3.zip
Diffstat (limited to 'src/Chunk.h')
-rw-r--r--src/Chunk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index c51794d24..405f5253e 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -53,6 +53,9 @@ public:
cChunk(const cChunk & Other) = delete;
~cChunk();
+ /** Flushes the pending block (entity) queue, and clients' outgoing data buffers. */
+ void BroadcastPendingChanges(void);
+
/** Returns true iff the chunk block data is valid (loaded / generated) */
bool IsValid(void) const {return (m_Presence == cpPresent); }
@@ -546,9 +549,6 @@ private:
/** Wakes up each simulator for its specific blocks; through all the blocks in the chunk */
void WakeUpSimulators(void);
- /** Sends m_PendingSendBlocks to all clients */
- void BroadcastPendingBlockChanges(void);
-
/** Checks the block scheduled for checking in m_ToTickBlocks[] */
void CheckBlocks();