1
0
Fork 0

Mobs Redo: Fix mobs:boom not depending on mcl_tnt

This commit is contained in:
Wuzzy 2017-08-06 13:26:12 +02:00
parent 6253ffd78b
commit a0347a6700
1 changed files with 1 additions and 1 deletions

View File

@ -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, {