mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	player_api: Set correct visual size for legacy player model
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user