From a0347a6700b26dfcf66df4cb3279bc6073a6ed07 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 6 Aug 2017 13:26:12 +0200 Subject: [PATCH] Mobs Redo: Fix mobs:boom not depending on mcl_tnt --- mods/ENTITIES/mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs/api.lua b/mods/ENTITIES/mobs/api.lua index 4352fd037f..fb8f7e3cc0 100644 --- a/mods/ENTITIES/mobs/api.lua +++ b/mods/ENTITIES/mobs/api.lua @@ -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, {