diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3ddac369d..4b968865f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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
*/
|