From: sfan5 Date: Sun, 6 Oct 2019 12:06:02 +0000 (+0200) Subject: player_api: Set correct visual size for legacy player model X-Git-Tag: 5.1.0~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f87c3d05aec580a1bf49ffd23bc793b66cb7ba6c;p=oweals%2Fminetest_game.git player_api: Set correct visual size for legacy player model --- diff --git a/mods/player_api/api.lua b/mods/player_api/api.lua index e309b08d..0afd6790 100644 --- a/mods/player_api/api.lua +++ b/mods/player_api/api.lua @@ -54,6 +54,7 @@ function player_api.set_model(player, model_name) player:set_properties({ textures = {"player.png", "player_back.png"}, visual = "upright_sprite", + visual_size = {x = 1, y = 2}, collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.75, 0.3}, stepheight = 0.6, eye_height = 1.625,