mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-15 15:41:06 +01:00
[mcl_mobspawners] Fix random crash, https://git.minetest.land/MineClone2/MineClone2/issues/1707
This commit is contained in:
parent
b64188f37e
commit
1a9990fc92
1 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ local spawn_count_overrides = {
|
|||
|
||||
local function set_doll_properties(doll, mob)
|
||||
local mobinfo = minetest.registered_entities[mob]
|
||||
if not mobinfo then return end
|
||||
local xs, ys
|
||||
if doll_size_overrides[mob] then
|
||||
xs = doll_size_overrides[mob].x
|
||||
|
|
Loading…
Reference in a new issue