mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-23 19:09:46 +00:00
Added a dummy cheats toggle to the world creation screen.
This commit is contained in:
parent
248e9cb69a
commit
b1cd6c6581
5 changed files with 65 additions and 17 deletions
|
|
@ -72,6 +72,9 @@ public:
|
|||
bool getSpawnMobs() const;
|
||||
void setSpawnMobs(bool doSpawn);
|
||||
|
||||
bool getAllowCheats() const;
|
||||
void setAllowCheats(bool allow);
|
||||
|
||||
public:
|
||||
PlayerData playerData;
|
||||
int playerDataVersion;
|
||||
|
|
@ -89,6 +92,7 @@ private:
|
|||
int gameType;
|
||||
int storageVersion;
|
||||
bool spawnMobs;
|
||||
bool allowCheats;
|
||||
//@note: This version is never written or loaded to disk. The only purpose
|
||||
// is to use it in the level generator on server and clients.
|
||||
int generatorVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue