From 81bdcf6951e24194e21655fd5c1b731e01e47fb2 Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Sat, 21 Oct 2023 22:10:00 +0200 Subject: [PATCH] fix decomposing leaves registration. make decomposing leaves registration work with the new API support for leveled nodes. --- mods/bg_tree/node_leaves.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/bg_tree/node_leaves.lua b/mods/bg_tree/node_leaves.lua index 21b24dd..1a06684 100644 --- a/mods/bg_tree/node_leaves.lua +++ b/mods/bg_tree/node_leaves.lua @@ -141,4 +141,5 @@ blockgame.register_leveled_node("leaves_decomposing", blockgame.underride({ }, walkable = false, supports_falling = true, + level_max = decomposing_leaves_layers, }, base_def))