Register fire-node overrides at start-up

This commit is contained in:
stujones11 2015-07-15 18:57:03 +01:00
parent 8f2badeec3
commit bad1452e87
2 changed files with 7 additions and 7 deletions

View File

@ -52,13 +52,11 @@ end
-- override hot nodes so they do not hurt player anywhere but mod
if ARMOR_FIRE_PROTECT == true then
minetest.after(2, function()
for _, row in ipairs(ARMOR_FIRE_NODES) do
if minetest.registered_nodes[row[1]] then
minetest.override_item(row[1], {damage_per_second = 0})
end
end
end)
end
local time = 0

View File

@ -1,4 +1,6 @@
default
inventory_plus?
unified_inventory?
fire?
ethereal?
bakedclay?