mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 19:55:30 +01:00
Remove unused functions.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user