Fix typo in syntax for field_close_on_enter[]

Fixes #8
This commit is contained in:
rubenwardy 2017-02-16 00:47:42 +00:00 committed by JPG
parent 452b05d450
commit 4ba015e39a

View File

@ -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")