diff --git a/api.lua b/api.lua index 89704e0..2b29479 100644 --- a/api.lua +++ b/api.lua @@ -3725,7 +3725,6 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter minetest.log("action", string.format( "[mobs] Chance setting for %s changed to %s (total: %s)", name, chance, aoc)) - end mobs.spawning_mobs[name].aoc = aoc diff --git a/api.txt b/api.txt index 14ee000..fdbd1dd 100644 --- a/api.txt +++ b/api.txt @@ -701,8 +701,8 @@ mobs_monster:sand_monster 100 ...you can also change how many of a certain mob appear in an active mapblock by adding a comma and then a new value e.g. -mobs_animal:cow 8000,4 <-- 4 cows per mapblock at 8000 spawn chance -mobs_monster:dirt_monster ,20 <-- 20 dirt monsters per mapblock +mobs_animal:cow = 8000,4 <-- 4 cows per mapblock at 8000 spawn chance +mobs_monster:dirt_monster = ,20 <-- 20 dirt monsters per mapblock Rideable Horse Example Mob