From f87c3d05aec580a1bf49ffd23bc793b66cb7ba6c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 6 Oct 2019 14:06:02 +0200 Subject: [PATCH] player_api: Set correct visual size for legacy player model --- mods/player_api/api.lua | 1 + 1 file changed, 1 insertion(+) 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, -- 2.25.1