diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 2df48634..86ab7903 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -1959,7 +1959,7 @@ local do_states = function(self, dtime) self.object:remove() - if mod_tnt and tnt and tnt.boom + if mobs_griefing and mod_tnt and tnt and tnt.boom and not minetest.is_protected(pos, "") then tnt.boom(pos, { diff --git a/settingtypes.txt b/settingtypes.txt index d46fdce8..153c34fa 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -46,7 +46,7 @@ only_peaceful_mobs (Spawn only peaceful mobs) bool false # If enabled, mobs might drop items when they die. mobs_drop_items (Mobs drop items) bool true -# If enabled, mobs can take and place blocks around them. +# If enabled, mobs can take, place, change and destroy blocks around them. mobs_griefing (Mobs change blocks) bool true # If enabled, players respawn at the bed they last lay on instead of normal