From 9d5db547f09bc568d095296c4885c78e8c7c56d4 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 27 Jul 2015 17:51:58 +0200 Subject: took care of unregistered-globals-warnings --- nodes_chests.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'nodes_chests.lua') diff --git a/nodes_chests.lua b/nodes_chests.lua index a1256c9..c099749 100644 --- a/nodes_chests.lua +++ b/nodes_chests.lua @@ -3,12 +3,7 @@ -- TODO: add bags (not for carrying around but for decoration) -- Boilerplate to support localized strings if intllib mod is installed. -local S -if intllib then - S = intllib.Getter() -else - S = function(s) return s end -end +local S = cottages.S cottages_chests = {} -- uses default.chest_formspec for now -- cgit v1.2.3