From 4ba015e39a70725cab0531ee9e4f2fc1095fad00 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 16 Feb 2017 00:47:42 +0000 Subject: [PATCH] Fix typo in syntax for field_close_on_enter[] Fixes #8 --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8a8601d..e1f4e52 100644 --- a/init.lua +++ b/init.lua @@ -167,7 +167,7 @@ function craftguide:get_formspec(player_name, is_fuel) tooltip[clear;Reset] tooltip[size_inc;Increase window size] tooltip[size_dec;Decrease window size] - field_close_on_enter[filter, false] ]].. + field_close_on_enter[filter;false] ]].. "button["..(data.iX/2)..",-0.02;0.7,1;size_inc;+]".. "button["..((data.iX/2) + 0.5).. ",-0.02;0.7,1;size_dec;-]".. @@ -465,4 +465,3 @@ mt.register_craft({ }) mt.register_alias("xdecor:crafting_guide", "craftguide:book") -