I managed to remove the unknown nodes with this script as a mod that someone here gave me a while ago:
Code: Select all
local old_nodes = {"mobs:rat"}
for _,node_name in ipairs(old_nodes) do
minetest.register_node(":"..node_name, {
groups = {old=1},
})
end
minetest.register_abm({
nodenames = {"group:old"},
interval = 1,
chance = 1,
action = function(pos, node)
minetest.remove_node(pos)
end,
})
How must I change the script to remove the unknown entities please.
Thank you