diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 36d59be8d1..fda76026a4 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -504,7 +504,8 @@ minetest.register_chatcommand("spawn_mob",{ func = function(n,param) local pos = minetest.get_player_by_name(n):get_pos() if mcl_mobs.spawn(pos,param) then - return true, param.." spawned at "..minetest.pos_to_string(pos) + return true, param.." spawned at "..minetest.pos_to_string(pos), + minetest.log("action", n.." spawned "..param.." at "..minetest.pos_to_string(pos)) end return false, "Couldn't spawn "..param end diff --git a/mods/ENTITIES/mobs_mc/pillager.lua b/mods/ENTITIES/mobs_mc/pillager.lua index c90aa38213..37122aa186 100644 --- a/mods/ENTITIES/mobs_mc/pillager.lua +++ b/mods/ENTITIES/mobs_mc/pillager.lua @@ -41,6 +41,7 @@ pillager = { fear_height = 4, arrow = "mcl_bows:arrow_entity", attack_type = "dogshoot", -- Alternate punching/shooting + attack_npcs = true, reach = 0, -- Punching max distance damage = 0, -- Punching damage dogshoot_switch = 1, -- Start of shooting