mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-16 22:40:17 +01:00
Revert "Search using enter/return key also"
This reverts commit cb76f4cf2c
.
This commit is contained in:
parent
8fd58cf38b
commit
56c5300034
2
init.lua
2
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user