diff --git a/mods/default/blocks.lua b/mods/default/blocks.lua index 248d81c5..e7c0cc5a 100644 --- a/mods/default/blocks.lua +++ b/mods/default/blocks.lua @@ -321,33 +321,6 @@ mod:block { end } -mod:block { - id = "redstone_lamp_off", - name = "Redstone Lamp", - tiles = "redstone_lamp_off.png", - - on_block_activated = function(pos, block, player, world, client, server, screen_width, screen_height, gui_scale) - local block = openminer.registry:get_block_from_string("default:redstone_lamp_on") - world:set_block(pos.x, pos.y, pos.z, block:id()) - end -} - -mod:block { - id = "redstone_lamp_on", - name = "Redstone Lamp", - tiles = "redstone_lamp_on.png", - is_light_source = true, - - groups = { - ci_ignore = 1 - }, - - on_block_activated = function(pos, block, player, world, client, server, screen_width, screen_height, gui_scale) - local block = openminer.registry:get_block_from_string("default:redstone_lamp_off") - world:set_block(pos.x, pos.y, pos.z, block:id()) - end -} - mod:block { id = "farmland", name = "Farmland",