Player damage texture modifier

This commit is contained in:
Elias Fleckenstein 2021-01-02 10:57:33 +01:00
parent fbd4a3a516
commit 2bc5a281f5

View File

@ -59,6 +59,7 @@ function mcl_player.player_set_model(player, model_name)
textures = player_textures[name] or model.textures, textures = player_textures[name] or model.textures,
visual = "mesh", visual = "mesh",
visual_size = model.visual_size or {x=1, y=1}, visual_size = model.visual_size or {x=1, y=1},
damage_texture_modifier = "^[colorize:red:130",
}) })
mcl_player.player_set_animation(player, "stand") mcl_player.player_set_animation(player, "stand")
else else