1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-23 01:00:22 +01:00

fix api typo (thanks bastrabun :)

This commit is contained in:
tenplus1 2022-05-21 08:04:38 +01:00
parent 168014b86f
commit ca34cc2274

View File

@ -415,7 +415,7 @@ the mobs:spawn, so it is recommended to use the above instead.
mobs:register_spawn(name, nodes, max_light, min_light, chance,
active_object_count, max_height, day_toggle)
mobs:spawn_specfic(name, nodes, neighbors, min_light, max_light, interval,
mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, interval,
chance, active_object_count, min_height, max_height, day_toggle, on_spawn)
A simpler way to handle mob spawns has been added with the mobs:spawn(def)