add player.is_loading_chunks, .set_loading_chunks

This commit is contained in:
MihailRis
2024-12-24 10:35:09 +03:00
parent 0940e899cf
commit e153e1fbd7
6 changed files with 54 additions and 2 deletions
+4
View File
@@ -51,6 +51,7 @@ class Player : public Serializable {
bool noclip = false;
bool infiniteItems = true;
bool instantDestruction = true;
bool loadingChunks = true;
entityid_t eid;
entityid_t selectedEid = 0;
public:
@@ -97,6 +98,9 @@ public:
bool isInstantDestruction() const;
void setInstantDestruction(bool flag);
bool isLoadingChunks() const;
void setLoadingChunks(bool flag);
entityid_t getEntity() const;
void setEntity(entityid_t eid);