feat: remove bonus chests
This commit is contained in:
1 parent
7272b62d38
commit
ca003f1afa
30 files changed
+8
-246
No files matched your search
@@ -42,7 +42,6 @@ LevelData::LevelData(CompoundTag *tag)
|
||||
{
|
||||
generateMapFeatures = true;
|
||||
}
|
||||
spawnBonusChest = tag->getBoolean(L"spawnBonusChest");
|
||||
|
||||
xSpawn = tag->getInt(L"SpawnX");
|
||||
ySpawn = tag->getInt(L"SpawnY");
|
||||
@@ -144,7 +143,6 @@ LevelData::LevelData(LevelSettings *levelSettings, const wstring& levelName)
|
||||
this->seed = levelSettings->getSeed();
|
||||
this->gameType = levelSettings->getGameType();
|
||||
this->generateMapFeatures = levelSettings->isGenerateMapFeatures();
|
||||
this->spawnBonusChest = levelSettings->hasStartingBonusItems();
|
||||
this->levelName = levelName;
|
||||
this->m_pGenerator = levelSettings->getLevelType();
|
||||
this->hardcore = levelSettings->isHardcore();
|
||||
@@ -200,7 +198,6 @@ LevelData::LevelData(LevelData *copy)
|
||||
this->m_pGenerator = copy->m_pGenerator;
|
||||
this->gameType = copy->gameType;
|
||||
this->generateMapFeatures = copy->generateMapFeatures;
|
||||
this->spawnBonusChest = copy->spawnBonusChest;
|
||||
this->xSpawn = copy->xSpawn;
|
||||
this->ySpawn = copy->ySpawn;
|
||||
this->zSpawn = copy->zSpawn;
|
||||
@@ -256,7 +253,6 @@ void LevelData::setTagData(CompoundTag *tag)
|
||||
tag->putInt(L"generatorVersion", m_pGenerator->getVersion());
|
||||
tag->putInt(L"GameType", gameType->getId());
|
||||
tag->putBoolean(L"MapFeatures", generateMapFeatures);
|
||||
tag->putBoolean(L"spawnBonusChest",spawnBonusChest);
|
||||
tag->putInt(L"SpawnX", xSpawn);
|
||||
tag->putInt(L"SpawnY", ySpawn);
|
||||
tag->putInt(L"SpawnZ", zSpawn);
|
||||
@@ -515,11 +511,6 @@ bool LevelData::isGenerateMapFeatures()
|
||||
return generateMapFeatures;
|
||||
}
|
||||
|
||||
bool LevelData::getSpawnBonusChest()
|
||||
{
|
||||
return spawnBonusChest;
|
||||
}
|
||||
|
||||
void LevelData::setGameType(GameType *gameType)
|
||||
{
|
||||
this->gameType = gameType;
|
||||
|
||||
Reference in new issue
Block a user