1
0
Fork 0

[mcl_mobspawners] Fix random crash, MineClone2/MineClone2#1707

This commit is contained in:
kay27 2021-05-08 14:09:16 +04:00
parent 37350e81c9
commit 4bb27a0d79
1 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ local spawn_count_overrides = {
local function set_doll_properties(doll, mob) local function set_doll_properties(doll, mob)
local mobinfo = minetest.registered_entities[mob] local mobinfo = minetest.registered_entities[mob]
if not mobinfo then return end
local xs, ys local xs, ys
if doll_size_overrides[mob] then if doll_size_overrides[mob] then
xs = doll_size_overrides[mob].x xs = doll_size_overrides[mob].x