summaryrefslogtreecommitdiff
path: root/register.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-11-05 10:43:50 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-11-05 10:46:49 -0500
commitee93afd439ec9beaede5be916a55a17c61577684 (patch)
treee89ce144f2a56bb059e49ac842b9503ddad0bc31 /register.lua
parent2b5bf5fe95e388c28a81debfacdb0e8b14ddf355 (diff)
Fix incorrect background colors over inventory slots
caused by BlockMen's/kahrl's inventory #hexcolor patch ( https://github.com/minetest/minetest/commit/25edae00ea1d5a9af4a6599fc7c200bb810fbd49 )
Diffstat (limited to 'register.lua')
-rw-r--r--register.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/register.lua b/register.lua
index 205aa4b..abe9d01 100644
--- a/register.lua
+++ b/register.lua
@@ -121,6 +121,7 @@ unified_inventory.register_page("craft", {
local formspec = "background[0,1;8,3;ui_crafting_form.png]"
formspec = formspec.."background[0,4.5;8,4;ui_main_inventory.png]"
formspec = formspec.."label[0,0;Crafting]"
+ formspec = formspec.."listcolors[#00000000;#00000000]"
formspec = formspec.."list[current_player;craftpreview;6,1;1,1;]"
formspec = formspec.."list[current_player;craft;2,1;3,3;]"
formspec = formspec.."label[7,2.5;Trash:]"
@@ -139,6 +140,7 @@ unified_inventory.register_page("craftguide", {
local formspec = "background[0,1;8,3;ui_craftguide_form.png]"
formspec = formspec.."background[0,4.5;8,4;ui_main_inventory.png]"
formspec = formspec.."label[0,0;Crafting Guide]"
+ formspec = formspec.."listcolors[#00000000;#00000000]"
formspec = formspec.."list[detached:"..player_name.."craftrecipe;output;6,1;1,1;]"
formspec = formspec.."label[6,3.35;Method:]"
local item_name = unified_inventory.current_item[player_name]