From 4b2ecbabfc8844f645e092f08597a5a5bf0b9f35 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 9 Dec 2025 14:25:08 +0100 Subject: [PATCH] =?UTF-8?q?Move=20the=20mod=E2=80=99s=20namespace=20table?= =?UTF-8?q?=20to=20init.lua?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.lua | 2 -- init.lua | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/functions.lua b/functions.lua index cc528b2..9d2f039 100644 --- a/functions.lua +++ b/functions.lua @@ -1,7 +1,5 @@ local S = core.get_translator(core.get_current_modname()) -stripped_tree = {} - -- Select between chisel tool or axes. stripped_tree.enable_chisel = core.settings:get_bool("stripped_tree_enable_chisel") diff --git a/init.lua b/init.lua index 86ae831..4774bdb 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,6 @@ +-- Our own mod namespace +stripped_tree = {} + -- Get our own path local mpath = core.get_modpath("stripped_tree")