From 53c70b5f27f2978029cb40845a82b681c844ec42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Mon, 9 May 2022 20:41:47 +0200 Subject: [PATCH] Docs: Recommend `self.name` (#12239) --- doc/lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e95c5ced8..abfaf08aa 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6782,7 +6782,7 @@ object you are working with still exists. * Fourth column: subject looking to the right * Fifth column: subject viewed from above * Sixth column: subject viewed from below -* `get_entity_name()` (**Deprecated**: Will be removed in a future version) +* `get_entity_name()` (**Deprecated**: Will be removed in a future version, use the field `self.name` instead) * `get_luaentity()` #### Player only (no-op for other objects)