mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Add Entity get_texture_mod() to Lua API
Send texture modifier to clients connecting later too
This commit is contained in:
@@ -164,6 +164,9 @@ private:
|
||||
// set_texture_mod(self, mod)
|
||||
static int l_set_texture_mod(lua_State *L);
|
||||
|
||||
// l_get_texture_mod(self)
|
||||
static int l_get_texture_mod(lua_State *L);
|
||||
|
||||
// set_sprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2,
|
||||
// select_horiz_by_yawpitch=false)
|
||||
static int l_set_sprite(lua_State *L);
|
||||
|
Reference in New Issue
Block a user