From e1d292d1bffec1db220ecab5aaee676330958b80 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Wed, 24 Sep 2025 14:09:19 +0100 Subject: [PATCH] Remove testing debug print --- shared/itemcontrol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/itemcontrol.lua b/shared/itemcontrol.lua index bde154c..698c59d 100644 --- a/shared/itemcontrol.lua +++ b/shared/itemcontrol.lua @@ -1279,7 +1279,7 @@ end function hasItem(items, amount, src) local amount = amount and amount or 1 local grabInv, foundInv = getPlayerInv(src) - jsonPrint(grabInv) + if type(items) ~= "table" then items = { [items] = amount and amount or 1, } end local hasTable = {}