mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-08 23:13:00 +00:00
fix: sunflower randomly spawning
This commit is contained in:
parent
c13e5a0900
commit
2673323dc0
|
|
@ -551,10 +551,10 @@ int Biome::getRandomDoublePlantType(Random *random)
|
|||
{
|
||||
|
||||
int type = random->nextInt(10);
|
||||
if (type < 7) return 0;
|
||||
if (type < 7) return 2;
|
||||
if (type == 7) return 3;
|
||||
if (type == 8) return 4;
|
||||
return 2;
|
||||
return 5;
|
||||
}
|
||||
Biome* Biome::getBiome(uint32_t id) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue