Revert "Create indestructible nodes after all mods load"
This reverts commit 8b1de22854
.
This commit is contained in:
parent
6cf958800b
commit
6be1373cae
1 changed files with 15 additions and 17 deletions
|
@ -117,7 +117,6 @@ local function make_immortal(def)
|
||||||
def.description = def.description and ("Indestructible " .. def.description)
|
def.description = def.description and ("Indestructible " .. def.description)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_mods_loaded(function()
|
|
||||||
local registered_nodes = table.copy(minetest.registered_nodes)
|
local registered_nodes = table.copy(minetest.registered_nodes)
|
||||||
for name, def in pairs(registered_nodes) do
|
for name, def in pairs(registered_nodes) do
|
||||||
local mod, nodename = name:match"(..-):(.+)"
|
local mod, nodename = name:match"(..-):(.+)"
|
||||||
|
@ -135,4 +134,3 @@ minetest.register_on_mods_loaded(function()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
|
||||||
|
|
Loading…
Reference in a new issue