From 3b2536198804f1de9d514c1ae0f48865b34f6ab1 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Wed, 25 Sep 2024 11:06:45 +0000 Subject: [PATCH] Wrap library result in function for multiple return values --- items.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/items.lua b/items.lua index b3fda2f..d64acfb 100644 --- a/items.lua +++ b/items.lua @@ -63,7 +63,6 @@ function Cache.makeCache(cacheLoader) local entry = nil if #chest.list() == 0 and type(cacheLoader) == "function" then - print("Using cacheloader") entry = cacheLoader(name, chest) end @@ -341,4 +340,4 @@ local function QUICKLOAD(name, chest) return nil end -return Cache, QUICKLOAD \ No newline at end of file +return function() return Cache, QUICKLOAD end \ No newline at end of file