The new RandomSpawn system does not spawn mobs if option "Biomes" is set
Summary
If a RandomSpawn for a mob has the option Biomes
being set, then this mob will not be spawned by the new RandomSpawn system.
Contrastly, removing the Biomes
option of the RandomSpawn and doing /mm reload
will instantly make it work (i.e. you will soon see the mobs appear around you, and the console starts outputing information like: [MythicMobs] [i] Calling MythicMobSpawnEvent for desert_mob
.
Steps to reproduce
Set a RandomSpawn for a mob with the Biomes
being set, like this:
desert_mob:
MobType: desert_mob
Worlds: world
Chance: 1
Priority: 100
Cooldown: 1
Action: ADD
Biomes:
- DESERT
Conditions:
- playernotwithin{d=24} true
- outside true
Run /mm d 1
to set debug level to 1 so we can see the attempts of random spawn.
Then back to the game, go to a desert biome. Wait and watch the console.
No desert_mob is spawned and no output from the console.
Now removing the Biomes
option from the config, we get this:
desert_mob:
MobType: desert_mob
Worlds: world
Chance: 1
Priority: 100
Cooldown: 1
Action: ADD
# Biomes:
# - DESERT
Conditions:
- playernotwithin{d=24} true
- outside true
Run /mm reload
and go back to the game. You should see mobs instantly appear around you.
Current behavior
The new RandomSpawn system does not spawn mobs if option "Biomes" is set.
Intended correct behavior
With the settings above, if I stand in the desert there should be mobs instantly appearing in my sight.
Server log file
My log file: https://pastebin.com/6uVYDYTd, my combined config files: https://pastebin.com/1iCbXGwC and my disguises file: https://pastebin.com/evtPrwL1
Debug log snippet
There is no debug log honestly. The RandomSpawn simply doesn't output anything in the console...
Proposed fixes
I've had no idea sorry.