Always use standing animation in player formspec

See <https://codeberg.org/mineclonia/mineclonia/pulls/2093>
This commit is contained in:
kno10 2024-10-19 14:58:02 +02:00
parent fd6cac5f0c
commit 3c00777fb7

@ -163,7 +163,7 @@ end
function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname) function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname)
local name = player:get_player_name() local name = player:get_player_name()
local model = player_model[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) local textures = get_player_textures(name)
if not player_visible[name] then if not player_visible[name] then
textures = table.copy(textures) textures = table.copy(textures)