diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index b3de6f50f3..d97d995362 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -432,6 +432,7 @@ if mobs_spawn then local is_water = get_item_group(gotten_node, "water") ~= 0 local is_lava = get_item_group(gotten_node, "lava") ~= 0 local is_leaf = get_item_group(gotten_node, "leaves") ~= 0 + local is_bedrock = gotten_node == "mcl_core:bedrock" local is_ground = not (is_water or is_lava) local is_grass = minetest.get_item_group(gotten_node,"grass_block") ~= 0 local has_bed = minetest.find_node_near(pos,25,{"group:bed"}) @@ -478,6 +479,7 @@ if mobs_spawn then and (not is_farm_animal(mob_def.name) or is_grass) and (mob_type ~= "npc" or has_bed) and (mob_def.type_of_spawning ~= "water" or is_water) + and not is_bedrock then if mob_def.type_of_spawning == "water" then spawning_position = get_water_spawn(spawning_position)