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, 3 insertions, 5 deletions
diff --git a/src/script/lua_api/l_nodemeta.h b/src/script/lua_api/l_nodemeta.h index 227d79f09..fdc1766ed 100644 --- a/src/script/lua_api/l_nodemeta.h +++ b/src/script/lua_api/l_nodemeta.h @@ -31,8 +31,7 @@ class NodeMetadata; NodeMetaRef */ -class NodeMetaRef : public MetaDataRef -{ +class NodeMetaRef : public MetaDataRef { private: v3s16 m_p; ServerEnvironment *m_env = nullptr; @@ -55,11 +54,10 @@ 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); |