From 89523195d5d868131ca01e9d956f06d0588b70b3 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 5 Sep 2020 08:59:09 +0100 Subject: [PATCH] fix typo in api.txt --- api.lua | 1 - api.txt | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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