diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-03-06 22:04:29 +0100 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-03-06 22:04:29 +0100 |
commit | 0ba8e7eeaeff712ec7b12da9fda55b9f3672e018 (patch) | |
tree | 5ab25a8388b7e277ea8e94196e76e3ff6415a20b | |
parent | adac1aedc44187ec763bcae921a2a9f9db5c4351 (diff) |
bugfix
-rw-r--r-- | unified_inventory/unified_inventory/api.lua | 2 | ||||
-rw-r--r-- | unified_inventory/unified_inventory/depends.txt | 2 |
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 |