From 91f67bee7376016d4275bb9fec7fbc7e38be95f8 Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 17 Aug 2015 11:50:32 +0200 Subject: [PATCH] Fix variable name on enderchest formspec --- nodes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes.lua b/nodes.lua index ad899d5..01ec3b3 100644 --- a/nodes.lua +++ b/nodes.lua @@ -313,8 +313,9 @@ xdecor.register("enderchest", { sounds = sound.stone, on_construct = function(pos) local meta = minetest.get_meta(pos) + local xbg = default.gui_bg..default.gui_bg_img..default.gui_slots meta:set_string("formspec", - "size[8,9]"..xdecor.fancy_gui.. + "size[8,9]"..xbg.. "list[current_player;enderchest;0,0;8,4;]".. "list[current_player;main;0,5;8,4;]") meta:set_string("infotext", "Ender Chest")