From 8338b406d3e142d0163c95fa9b7dd6e14f5ccec9 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 28 Jun 2015 05:17:43 -0400 Subject: [PATCH] fix crash in waypoints? --- internal.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/internal.lua b/internal.lua index 01747cf..5dc3795 100644 --- a/internal.lua +++ b/internal.lua @@ -179,6 +179,7 @@ end --apply filter to the inventory list (create filtered copy of full one) function unified_inventory.apply_filter(player, filter, search_dir) + if not player then return false end local player_name = player:get_player_name() local lfilter = string.lower(filter) local ffilter