From 09feb14dbb84249a4438c465844eff1ca1e29178 Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Wed, 11 Oct 2023 18:26:48 +0200 Subject: [PATCH] fix log textures. --- mods/bg_tree/node.lua | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/mods/bg_tree/node.lua b/mods/bg_tree/node.lua index 65fcade..64271a0 100644 --- a/mods/bg_tree/node.lua +++ b/mods/bg_tree/node.lua @@ -1,12 +1,21 @@ local modname = minetest.get_current_modname() -blockgame.reg_simple_node("log", "Log", { - woody = 1, +minetest.register_node(modname .. ":log", { + description = "Log", + tiles = { + modname .. "_log_top.png", + modname .. "_log_top.png", + modname .. "_log.png", + }, + groups = { + woody = 1, + }, }) minetest.register_node(modname .. ":log_alive", { description = "Growing Log", tiles = { - modname .. "_log_top.png", + modname .. "_log_top_alive.png", + modname .. "_log_top_alive.png", modname .. "_log_alive.png", }, groups = {