Move the mod’s namespace table to init.lua

This commit is contained in:
2025-12-09 14:25:08 +01:00
parent 53876759ff
commit 4b2ecbabfc
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,5 @@
local S = core.get_translator(core.get_current_modname()) local S = core.get_translator(core.get_current_modname())
stripped_tree = {}
-- Select between chisel tool or axes. -- Select between chisel tool or axes.
stripped_tree.enable_chisel = core.settings:get_bool("stripped_tree_enable_chisel") stripped_tree.enable_chisel = core.settings:get_bool("stripped_tree_enable_chisel")

View File

@@ -1,3 +1,6 @@
-- Our own mod namespace
stripped_tree = {}
-- Get our own path -- Get our own path
local mpath = core.get_modpath("stripped_tree") local mpath = core.get_modpath("stripped_tree")