summaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r--src/content_mapnode.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp
index 5e2a5c816..3a4a4652a 100644
--- a/src/content_mapnode.cpp
+++ b/src/content_mapnode.cpp
@@ -233,16 +233,3 @@ std::string content_mapnode_get_new_name(const std::string &oldname)
{
return newnamegetter.get(oldname);
}
-
-content_t legacy_get_id(const std::string &oldname, INodeDefManager *ndef)
-{
- std::string newname = content_mapnode_get_new_name(oldname);
- if(newname == "")
- return CONTENT_IGNORE;
- content_t id;
- bool found = ndef->getId(newname, id);
- if(!found)
- return CONTENT_IGNORE;
- return id;
-}
-