From 8dccef9389fa8068ce4af59d62656e2596adfe73 Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Tue, 17 Oct 2023 09:48:48 +0200 Subject: [PATCH] refactor: fix modname being hard-coded into string. --- mods/bg_tree/decompose.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/bg_tree/decompose.lua b/mods/bg_tree/decompose.lua index e9e5ceb..f7e7e2c 100644 --- a/mods/bg_tree/decompose.lua +++ b/mods/bg_tree/decompose.lua @@ -10,7 +10,7 @@ local leaves_decomposing = modname .. ":leaves_decomposing" -- END OF NODE NAMES blockgame.register_increasing_abm({ - id = "bg_tree:begin_decompose", + id = modname .. ":begin_decompose", label = "decompose leaves", nodenames = {leaves}, neighbors = {"group:dirty"}, @@ -28,7 +28,7 @@ blockgame.register_increasing_abm({ }) blockgame.register_increasing_abm({ - id = "bg_tree:decompose", + id = modname .. ":decompose", label = "decompose leaves", nodenames = {leaves_decomposing}, neighbors = {"group:dirty"},