From 7932f4e47003293d0fb3032e599217c6d6a164d6 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 10 Feb 2021 18:30:58 +0100 Subject: [PATCH] Disable 3D player preview by default --- mods/HUD/mcl_inventory/creative.lua | 2 +- mods/HUD/mcl_inventory/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index 1cebed0cdc..1ab6eda088 100644 --- a/mods/HUD/mcl_inventory/creative.lua +++ b/mods/HUD/mcl_inventory/creative.lua @@ -331,7 +331,7 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz -- Show armor and player image local player_preview - if minetest.settings:get_bool("3d_player_preview", true) then + if minetest.settings:get_bool("3d_player_preview") then player_preview = mcl_player.get_player_formspec_model(player, 3.9, 1.4, 1.2333, 2.4666, "") else local img, img_player diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 0544240515..60ed8ba504 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -65,7 +65,7 @@ local function set_inventory(player, armor_change_only) -- Show armor and player image local player_preview - if minetest.settings:get_bool("3d_player_preview", true) then + if minetest.settings:get_bool("3d_player_preview") then player_preview = mcl_player.get_player_formspec_model(player, 1.0, 0.0, 2.25, 4.5, "") else local img, img_player