mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 15:55:13 +00: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
|
||||
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
|
||||
|
||||
tnt.boom(pos, {
|
||||
|
|
Loading…
Reference in a new issue