From d1bedb779ddf696ae207129f6fc4b5d0e55aeb73 Mon Sep 17 00:00:00 2001 From: ezhh Date: Sun, 6 Aug 2017 12:58:51 +0100 Subject: [PATCH] Add correct paramtype for nodes --- nodes.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nodes.lua b/nodes.lua index aab33c1..c0820ae 100644 --- a/nodes.lua +++ b/nodes.lua @@ -21,6 +21,7 @@ for i in ipairs(glass_list) do sunlight_propagates = true, light_source = 4, drawtype = "glasslike", + paramtype = "light", sounds = default.node_sound_glass_defaults(), }) end @@ -33,6 +34,7 @@ minetest.register_node("abriglass:stained_glass_frosted", { sunlight_propagates = true, light_source = 4, drawtype = "glasslike", + paramtype = "light", sounds = default.node_sound_glass_defaults(), }) @@ -71,6 +73,7 @@ for i in ipairs(light_list) do sunlight_propagates = true, light_source = 14, drawtype = "glasslike", + paramtype = "light", sounds = default.node_sound_glass_defaults(), }) end @@ -100,6 +103,7 @@ for i in ipairs(pattern_list) do sunlight_propagates = true, light_source = 5, drawtype = "glasslike", + paramtype = "light", paramtype2 = "facedir", sounds = default.node_sound_glass_defaults(), }) @@ -206,6 +210,7 @@ minetest.register_node("abriglass:ghost_crystal", { sunlight_propagates = true, light_source = 14, drawtype = "glasslike", + paramtype = "light", sounds = default.node_sound_glass_defaults(), }) @@ -220,4 +225,5 @@ minetest.register_node("abriglass:hidden_light", { walkable = false, light_source = 7, drawtype = "glasslike", + paramtype = "light", })