forked from Mirrorlandia_minetest/minetest
Mark ObjectRef::get_entity_name() deprecated
This commit is contained in:
parent
ab57fbe4ca
commit
e82a76e438
@ -210,7 +210,7 @@
|
|||||||
-- - select_horiz_by_yawpitch=false)
|
-- - select_horiz_by_yawpitch=false)
|
||||||
-- - ^ Select sprite from spritesheet with optional animation and DM-style
|
-- - ^ Select sprite from spritesheet with optional animation and DM-style
|
||||||
-- - texture selection based on yaw relative to camera
|
-- - texture selection based on yaw relative to camera
|
||||||
-- - get_entity_name()
|
-- - get_entity_name() (DEPRECATED: Will be removed in a future version)
|
||||||
-- - get_luaentity()
|
-- - get_luaentity()
|
||||||
-- Player-only: (no-op for other objects)
|
-- Player-only: (no-op for other objects)
|
||||||
-- - get_player_name(): will return nil if is not a player
|
-- - get_player_name(): will return nil if is not a player
|
||||||
|
@ -2026,6 +2026,7 @@ private:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DEPRECATED
|
||||||
// get_entity_name(self)
|
// get_entity_name(self)
|
||||||
static int l_get_entity_name(lua_State *L)
|
static int l_get_entity_name(lua_State *L)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user