From dcdd126bdf447111202a71a1af53b6599a45e3a4 Mon Sep 17 00:00:00 2001 From: Anavrins Date: Fri, 7 Aug 2020 20:21:25 -0400 Subject: [PATCH] Fix handling of invalid items --- swshop/swshop.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/swshop/swshop.lua b/swshop/swshop.lua index eaf1dc9..0fadd48 100644 --- a/swshop/swshop.lua +++ b/swshop/swshop.lua @@ -48,6 +48,7 @@ local function getItemDetails(item) return key, v end end + return nil, {} end end