fix decomposing leaves registration.

make decomposing leaves registration work with the new API support for
leveled nodes.
This commit is contained in:
trans_soup 2023-10-21 22:10:00 +02:00
parent a06b0a08af
commit 81bdcf6951

View file

@ -141,4 +141,5 @@ blockgame.register_leveled_node("leaves_decomposing", blockgame.underride({
}, },
walkable = false, walkable = false,
supports_falling = true, supports_falling = true,
level_max = decomposing_leaves_layers,
}, base_def)) }, base_def))