From 19e045e042d4ba97c1443dda8d5c3c9b035fcc68 Mon Sep 17 00:00:00 2001 From: Sires <ranearodrigo1@gmail.com> Date: Mon, 26 Aug 2019 19:52:41 +0200 Subject: [PATCH] Add translation for extranodes mod --- technic/radiation.lua | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/radiation.lua b/technic/radiation.lua index a4c49c6..f0d7f61 100644 --- a/technic/radiation.lua +++ b/technic/radiation.lua @@ -146,7 +146,7 @@ ["moreores:mithril_block"] = 26, ["moreores:silver_block"] = 53, ["snow:snow_brick"] = 2.8, - ["technic:brass_block"] = 43, + ["basic_materials:brass_block"] = 43, ["technic:carbon_steel_block"] = 40, ["technic:cast_iron_block"] = 40, ["technic:chernobylite_block"] = 40, @@ -338,7 +338,7 @@ local max_dist = strength * rad_dmg_mult_sqrt for _, o in pairs(minetest.get_objects_inside_radius(pos, max_dist + abdomen_offset)) do - if entity_damage or o:is_player() then + if (entity_damage or o:is_player()) and o:get_hp() > 0 then dmg_object(pos, o, strength) end end -- Gitblit v1.8.0