From 542e99976164cefe5c75d48c1f719eb0e0ec5e46 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Fri, 24 Jul 2015 18:12:49 +0200 Subject: [PATCH] Added back nether's lock on DMs' fireballs' explosions - DMs cannot damage nether anymore --- mods/mobs/api.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index 28b5482d..d09deaba 100755 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -1329,7 +1329,8 @@ function mobs:explosion(pos, radius, fire, smoke, sound) p.x = pos.x + x p.y = pos.y + y p.z = pos.z + z - if data[vi] ~= c_air and data[vi] ~= c_ignore + if p.y >= 19600 + and data[vi] ~= c_air and data[vi] ~= c_ignore and data[vi] ~= c_obsidian and data[vi] ~= c_brick and data[vi] ~= c_chest then local n = minetest.get_node(p).name