From 56c5300034eb80ebe11b42506208ae43395888b0 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Mon, 22 Feb 2016 13:02:39 +0100 Subject: [PATCH] Revert "Search using enter/return key also" This reverts commit cb76f4cf2cf791aa82119402abf4c3adb9202d3a. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3b2e23e..8f28baa 100644 --- a/init.lua +++ b/init.lua @@ -121,7 +121,7 @@ minetest.register_on_player_receive_fields(function(player, listname, fields) local recipe_num = tonumber(formspec:match("Recipe%s(%d+)")) or 1 recipe_num = recipe_num + 1 craftguide:get_formspec(stack, pagenum, item, recipe_num, filter, player_name) - elseif fields.search or fields.filter then + elseif fields.search then craftguide:get_items(fields.filter:lower(), player_name) craftguide:get_formspec(stack, 1, nil, 1, fields.filter:lower(), player_name) elseif fields.prev or fields.next then