From 288bdf18b4047709364f739772584e35adb1d8ca Mon Sep 17 00:00:00 2001 From: kno10 Date: Tue, 7 Jan 2025 16:14:02 +0100 Subject: [PATCH] Always use standing animation in player formspec (#4686) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4686 Reviewed-by: Mikita Wiśniewski Co-authored-by: kno10 Co-committed-by: kno10 --- mods/PLAYER/mcl_player/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_player/init.lua b/mods/PLAYER/mcl_player/init.lua index 391fe1081..c31e8e5c9 100644 --- a/mods/PLAYER/mcl_player/init.lua +++ b/mods/PLAYER/mcl_player/init.lua @@ -164,7 +164,7 @@ end function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname) local name = player:get_player_name() local model = player_model[name] - local anim = models[model].animations[player_anim[name]] + local anim = models[model].animations["stand"] local textures = get_player_textures(name) if not player_visible[name] then textures = table.copy(textures)