forked from minetest-mods/technic
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:
parent
e10335e952
commit
60c75bce74
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user