forked from minetest-mods/unified_inventory
fix crash in waypoints?
This commit is contained in:
parent
16e40a2e22
commit
8338b406d3
@ -179,6 +179,7 @@ end
|
|||||||
|
|
||||||
--apply filter to the inventory list (create filtered copy of full one)
|
--apply filter to the inventory list (create filtered copy of full one)
|
||||||
function unified_inventory.apply_filter(player, filter, search_dir)
|
function unified_inventory.apply_filter(player, filter, search_dir)
|
||||||
|
if not player then return false end
|
||||||
local player_name = player:get_player_name()
|
local player_name = player:get_player_name()
|
||||||
local lfilter = string.lower(filter)
|
local lfilter = string.lower(filter)
|
||||||
local ffilter
|
local ffilter
|
||||||
|
Loading…
Reference in New Issue
Block a user