mirror of
https://github.com/BluTac10/Xbox-Neo.git
synced 2026-06-18 08:02:12 +00:00
feat: Guardians
This commit is contained in:
@@ -846,9 +846,16 @@ vector<Biome::MobSpawnerData *> *RandomLevelSource::getMobsAt(MobCategory *mobCa
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
if (mobCategory == MobCategory::monster && scatteredFeature->isSwamphut(x, y, z))
|
||||
if (mobCategory == MobCategory::monster)
|
||||
{
|
||||
return scatteredFeature->getSwamphutEnemies();
|
||||
if (scatteredFeature->isSwamphut(x, y, z))
|
||||
{
|
||||
return scatteredFeature->getSwamphutEnemies();
|
||||
}
|
||||
if (oceanMonument->isInsideFeature(x, y, z))
|
||||
{
|
||||
return oceanMonument->getMonumentEnemies();
|
||||
}
|
||||
}
|
||||
return biome->getMobs(mobCategory);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user