mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-30 20:50:23 +01:00
quick fix
This commit is contained in:
parent
216078a0f8
commit
35e91348dd
2
init.lua
2
init.lua
@ -316,7 +316,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
list_index=list_index+1
|
list_index=list_index+1
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields.searchbox then
|
if fields.searchbutton then
|
||||||
local size=0
|
local size=0
|
||||||
unified_inventory.filtered_items_list[player_name]={}
|
unified_inventory.filtered_items_list[player_name]={}
|
||||||
for name,def in pairs(minetest.registered_items) do
|
for name,def in pairs(minetest.registered_items) do
|
||||||
|
Loading…
Reference in New Issue
Block a user