tnt: remove settingscheck

This commit is contained in:
Milan* 2016-12-15 18:11:57 +00:00
parent 50206b842d
commit 90ad2b6689

View File

@ -537,7 +537,7 @@ function tnt.register_tnt(def)
local tnt_burning = def.tiles.burning or def.name .. "_top_burning_animated.png" local tnt_burning = def.tiles.burning or def.name .. "_top_burning_animated.png"
if not def.damage_radius then def.damage_radius = def.radius * 2 end if not def.damage_radius then def.damage_radius = def.radius * 2 end
if enable_tnt then --if enable_tnt then
minetest.register_node(":" .. name, { minetest.register_node(":" .. name, {
description = def.description, description = def.description,
tiles = {tnt_top, tnt_bottom, tnt_side}, tiles = {tnt_top, tnt_bottom, tnt_side},
@ -568,7 +568,7 @@ function tnt.register_tnt(def)
minetest.set_node(pos, {name = name .. "_burning"}) minetest.set_node(pos, {name = name .. "_burning"})
end, end,
}) })
end --end
minetest.register_node(":" .. name .. "_burning", { minetest.register_node(":" .. name .. "_burning", {
tiles = { tiles = {