From ec09c5197d6128baeb3b5b93768242610392c6bc Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 25 Jan 2014 14:52:13 -0500 Subject: [PATCH] Pass all arguments on to old chest and furnace formspec functions --- mods/default_tweaks/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/default_tweaks/init.lua b/mods/default_tweaks/init.lua index 92c8bdb..55a16ad 100644 --- a/mods/default_tweaks/init.lua +++ b/mods/default_tweaks/init.lua @@ -54,8 +54,8 @@ default.chest_formspec = default.chest_formspec .."background[0,6;8,4;ui_main_inventory.png]" local old_get_locked_chest_formspec = default.get_locked_chect_formspec -function default.get_locked_chest_formspec(pos) - return old_get_locked_chest_formspec(pos) +function default.get_locked_chest_formspec(...) + return old_get_locked_chest_formspec(...) .."label[0,0;Wooden Locked Chest]" .."background[-0.19,-0.25;8.4,10.75;ui_form_bg.png]" .."background[0,1;8,4;ui_wooden_chest_inventory.png]" @@ -73,8 +73,8 @@ default.furnace_inactive_formspec = default.furnace_inactive_formspec .."background[0,1;8,4;ui_furnace_inventory.png]" local old_get_furnace_active_formspec = default.get_furnace_active_formspec -function default.get_furnace_active_formspec(pos, percent) - return old_get_furnace_active_formspec(pos, percent) +function default.get_furnace_active_formspec(...) + return old_get_furnace_active_formspec(...) .."label[0,0;Furnace Active]" .."background[-0.19,-0.25;8.4,10.75;ui_form_bg.png]" .."background[0,6;8,4;ui_main_inventory.png]"