forked from LizzyFleckenstein03/Memeclone
Fix explo mobs destroy land if mobs_griefing=false
This commit is contained in:
parent
45add3cedd
commit
a6bb31f2a6
|
@ -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, {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue