From fe466d5ed011f0e3d4e9da96bfcf72b987ca3baf Mon Sep 17 00:00:00 2001 From: vlapsley Date: Tue, 22 Aug 2017 13:46:41 +1000 Subject: [PATCH] Replace default mod with core mod in hud --- mods/HUD/creative/depends.txt | 2 +- mods/HUD/creative/inventory.lua | 4 ++-- mods/HUD/sfinv/depends.txt | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mods/HUD/creative/depends.txt b/mods/HUD/creative/depends.txt index 975e652..a58c989 100644 --- a/mods/HUD/creative/depends.txt +++ b/mods/HUD/creative/depends.txt @@ -1,2 +1,2 @@ -default +init sfinv diff --git a/mods/HUD/creative/inventory.lua b/mods/HUD/creative/inventory.lua index 0e1d813..05ee50e 100644 --- a/mods/HUD/creative/inventory.lua +++ b/mods/HUD/creative/inventory.lua @@ -106,8 +106,8 @@ function creative.register_tab(name, title, items) "field[0.3,3.5;2.2,1;creative_filter;;" .. minetest.formspec_escape(inv.filter) .. "]" .. "listring[detached:creative_" .. player_name .. ";main]" .. "list[detached:creative_" .. player_name .. ";main;0,0;8,3;" .. tostring(start_i) .. "]" .. - default.get_hotbar_bg(0,4.7) .. - default.gui_bg .. default.gui_bg_img .. default.gui_slots + init.get_hotbar_bg(0,4.7) .. + init.gui_bg .. init.gui_bg_img .. init.gui_slots .. creative.formspec_add, false) end, on_enter = function(self, player, context) diff --git a/mods/HUD/sfinv/depends.txt b/mods/HUD/sfinv/depends.txt index 54570b0..95e212c 100644 --- a/mods/HUD/sfinv/depends.txt +++ b/mods/HUD/sfinv/depends.txt @@ -1,3 +1,2 @@ -default init inventory