mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove unused functions.
This commit is contained in:
parent
ee6cad1546
commit
5556ba168f
5 changed files with 0 additions and 44 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue