mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-01 23:11:11 +01:00
Mobs Redo: Fix mobs:boom not depending on mcl_tnt
This commit is contained in:
parent
6253ffd78b
commit
a0347a6700
1 changed files with 1 additions and 1 deletions
|
@ -3013,7 +3013,7 @@ end
|
||||||
-- make explosion with protection and tnt mod check
|
-- make explosion with protection and tnt mod check
|
||||||
function mobs:boom(self, pos, radius)
|
function mobs:boom(self, pos, radius)
|
||||||
|
|
||||||
if minetest.get_modpath("tnt") and tnt and tnt.boom
|
if minetest.get_modpath("mcl_tnt") and tnt and tnt.boom
|
||||||
and not minetest.is_protected(pos, "") then
|
and not minetest.is_protected(pos, "") then
|
||||||
|
|
||||||
tnt.boom(pos, {
|
tnt.boom(pos, {
|
||||||
|
|
Loading…
Reference in a new issue