add player.is_loading_chunks, .set_loading_chunks
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user