summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unified_inventory/unified_inventory/api.lua2
-rw-r--r--unified_inventory/unified_inventory/depends.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/unified_inventory/unified_inventory/api.lua b/unified_inventory/unified_inventory/api.lua
index 7d1457c..4a85dc6 100644
--- a/unified_inventory/unified_inventory/api.lua
+++ b/unified_inventory/unified_inventory/api.lua
@@ -427,7 +427,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
list_index=list_index+1
end
- if fields.searchbutton or fields.searchbox then
+ if fields.searchbutton then
unified_inventory.apply_filter(player, fields.searchbox)
unified_inventory.set_inventory_formspec(player, unified_inventory.get_formspec(player,unified_inventory.current_page[player_name]))
minetest.sound_play("paperflip2", {to_player=player_name, gain = 1.0})
diff --git a/unified_inventory/unified_inventory/depends.txt b/unified_inventory/unified_inventory/depends.txt
index 2feb7d0..4be0815 100644
--- a/unified_inventory/unified_inventory/depends.txt
+++ b/unified_inventory/unified_inventory/depends.txt
@@ -1 +1 @@
-aaa_recipeshook
+aaa_recipeshook