mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Close if statement
This commit is contained in:
parent
3a4a8799ea
commit
74cf14ef0f
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ if mobs_spawn then
|
||||||
--mcl_log("mapgen_limit: " .. SPAWN_MAPGEN_LIMIT)
|
--mcl_log("mapgen_limit: " .. SPAWN_MAPGEN_LIMIT)
|
||||||
while max_loops > 0 do
|
while max_loops > 0 do
|
||||||
local spawning_position = get_next_mob_spawn_pos(pos)
|
local spawning_position = get_next_mob_spawn_pos(pos)
|
||||||
if spawning_position then return spawning_position
|
if spawning_position then return spawning_position end
|
||||||
max_loops = max_loops - 1
|
max_loops = max_loops - 1
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue