mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Categorize redstone stuff in creative tab
This commit is contained in:
parent
c5eeb841a4
commit
d7cb7cb5a8
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function set_inv(filter, player)
|
|||
table.insert(creative_list, name)
|
||||
end
|
||||
elseif filter == "#redstone" then
|
||||
if string.find(string.lower(def.name), "redstone") or string.find(string.lower(def.description), "redstone") then
|
||||
if def.mesecons or def.groups.mesecon or def.groups.mesecon_conductor_craftable or def.groups.mesecon_effecor_off then
|
||||
table.insert(creative_list, name)
|
||||
end
|
||||
elseif filter == "#rail" then
|
||||
|
|
Loading…
Reference in a new issue