From 6036f865cba44fd26374a3a649370f51d5d4ff6c Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 8 Mar 2018 22:58:43 +0100 Subject: Drop less performant Server::setBlockNotSent for ClientInterface::markBlockposAsNotSent --- src/clientiface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/clientiface.h') diff --git a/src/clientiface.h b/src/clientiface.h index a7cbc0107..291ccd401 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -431,6 +431,9 @@ public: /* get list of active client id's */ std::vector getClientIDs(ClientState min_state=CS_Active); + /* mark block as not sent to active client sessions */ + void markBlockposAsNotSent(const v3s16 &pos); + /* verify is server user limit was reached */ bool isUserLimitReached(); -- cgit v1.2.3