diff options
Diffstat (limited to 'src/script/lua_api/l_nodemeta.h')
-rw-r--r-- | src/script/lua_api/l_nodemeta.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/script/lua_api/l_nodemeta.h b/src/script/lua_api/l_nodemeta.h index fdc1766ed..227d79f09 100644 --- a/src/script/lua_api/l_nodemeta.h +++ b/src/script/lua_api/l_nodemeta.h @@ -31,7 +31,8 @@ class NodeMetadata; NodeMetaRef */ -class NodeMetaRef : public MetaDataRef { +class NodeMetaRef : public MetaDataRef +{ private: v3s16 m_p; ServerEnvironment *m_env = nullptr; @@ -54,10 +55,11 @@ private: * and @c NULL may be returned in case of an error regardless of @p auto_create. * * @param ref specifies the node for which the associated metadata is retrieved. - * @param auto_create when true, try to create metadata information for the node if it has none. + * @param auto_create when true, try to create metadata information for the node + * if it has none. * @return pointer to a @c NodeMetadata object or @c NULL in case of error. */ - virtual Metadata* getmeta(bool auto_create); + virtual Metadata *getmeta(bool auto_create); virtual void clearMeta(); virtual void reportMetadataChange(const std::string *name = nullptr); |