Minor code cleanup

This commit is contained in:
Aaron Suen 2020-07-14 08:08:16 -04:00
parent 7cc597156d
commit d000db43f6
3 changed files with 1 additions and 6 deletions

View File

@ -81,7 +81,7 @@ end
include("compat_vector")
include("compat_issue9043")
include("compat_nodemeta")
include("compat_issue10127")
include("compat_legacyent")
include("util_misc")

View File

@ -283,11 +283,6 @@ function nodecore.node_spin_filtered(func)
return nodecore.node_spin_custom(unpack(rots))
end
function nodecore.node_change(pos, node, newname)
if node.name == newname then return end
return minetest.set_node(pos, underride({name = newname}, node))
end
local function scrubkey(s)
return string_lower(string_gsub(tostring(s), "%W+", "_"))
end