diff --git a/mods/main/nodes.lua b/mods/main/nodes.lua index ed9b990..0521441 100644 --- a/mods/main/nodes.lua +++ b/mods/main/nodes.lua @@ -124,7 +124,13 @@ minetest.register_node("main:log_oak", { --Oak Leaves minetest.register_node("main:leaves_oak", { - drawtype = "allfaces", + drawtype = "plantlike", + paramtype = "light", + light_propagates = true, + sunlight_propagates = true, + walkable = false, + climbable = true, + is_ground_content = false, description = "Oak Leaves", tiles = {"main_leaves_oak.png"}, groups = {snappy = 3}, @@ -139,7 +145,13 @@ minetest.register_node("main:log_apple", { --Apple Tree Leaves minetest.register_node("main:leaves_apple", { - drawtype = "allfaces", + drawtype = "plantlike", + paramtype = "light", + light_propagates = true, + sunlight_propagates = true, + walkable = false, + climbable = true, + is_ground_content = false, description = "Apple Tree Leaves", tiles = {"main_leaves_apple.png"}, groups = {snappy = 3},