mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Node metadata framework
This commit is contained in:
parent
2f466726e6
commit
fa08294d09
7 changed files with 70 additions and 8 deletions
|
@ -2821,10 +2821,15 @@ int main(int argc, char *argv[])
|
|||
hilightboxes.push_back(nodehilightbox);
|
||||
|
||||
/*
|
||||
TODO:
|
||||
Check information text of node
|
||||
*/
|
||||
|
||||
NodeMetadata *meta = client.getNodeMetadata(nodepos);
|
||||
if(meta)
|
||||
{
|
||||
infotext = narrow_to_wide(meta->infoText());
|
||||
}
|
||||
|
||||
/*
|
||||
Handle digging
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue