[mods/default/blocks.lua] Removed old 'Redstone Lamp'.
This commit is contained in:
parent
6bb0042adc
commit
52b53ebfe4
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user