From eaec3645b08e517e709b15089ad09d4978d69297 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 26 Nov 2020 18:44:29 +0100 Subject: Added ClientObjectRef:get_hp() --- src/script/lua_api/l_clientobject.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_clientobject.h') diff --git a/src/script/lua_api/l_clientobject.h b/src/script/lua_api/l_clientobject.h index a4516e047..d622dc3b2 100644 --- a/src/script/lua_api/l_clientobject.h +++ b/src/script/lua_api/l_clientobject.h @@ -77,6 +77,9 @@ private: static int l_get_item_textures(lua_State *L); // get_hp(self) + static int l_get_hp(lua_State *L); + + // get_max_hp(self) static int l_get_max_hp(lua_State *L); // punch(self) -- cgit v1.2.3