1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-14 14:30:19 +01:00

added check to be sure creatura mod enabled

This commit is contained in:
tenplus1 2023-05-26 16:27:01 +01:00
parent 05f0550876
commit b42f7c63c8

View File

@ -129,7 +129,8 @@ end
local aoc_range = tonumber(settings:get("active_block_range")) * 16
-- can we attack Creatura mobs ?
local creatura = settings:get_bool("mobs_attack_creatura") == true
local creatura = minetest.get_modpath("creatura") and
settings:get_bool("mobs_attack_creatura") == true
-- default nodes
local node_ice = "default:ice"