fix inventory player model being able to "die"

This commit is contained in:
goblin_mode 2024-09-17 17:16:16 +02:00 committed by cora
parent ee4d0669c9
commit 51be809174

View File

@ -200,7 +200,7 @@ end
function mcl_player.get_player_formspec_model(player, x, y, w, h, fsname)
local model = mcl_player.players[player].model
local anim = mcl_player.registered_player_models[model].animations[mcl_player.players[player].animation]
local anim = mcl_player.registered_player_models[model].animations["stand"]
local textures = table.copy(mcl_player.players[player].textures)
if not mcl_player.players[player].visible then
textures[1] = "blank.png"