Fix flashlight light node declarations

The light and light_off node types should be not_in_creative_inventory,
and should drop nothing.
This commit is contained in:
Zefram 2014-04-26 21:27:43 +01:00 committed by ShadowNinja
parent e10335e952
commit 60c75bce74

View File

@ -135,6 +135,8 @@ minetest.register_node("technic:light", {
drawtype = "glasslike",
tile_images = {"technic_light.png"},
paramtype = "light",
groups = {not_in_creative_inventory=1},
drop = "",
walkable = false,
buildable_to = true,
sunlight_propagates = true,
@ -146,6 +148,8 @@ minetest.register_node("technic:light_off", {
drawtype = "glasslike",
tile_images = {"technic_light.png"},
paramtype = "light",
groups = {not_in_creative_inventory=1},
drop = "",
walkable = false,
buildable_to = true,
sunlight_propagates = true,