Fix redstone block missing from creative inv
This commit is contained in:
parent
ac497b2c6c
commit
8c15a076f1
@ -39,7 +39,7 @@ minetest.register_on_mods_loaded(function()
|
|||||||
if (not def.groups.not_in_creative_inventory or def.groups.not_in_creative_inventory == 0) and def.description and
|
if (not def.groups.not_in_creative_inventory or def.groups.not_in_creative_inventory == 0) and def.description and
|
||||||
def.description ~= "" then
|
def.description ~= "" then
|
||||||
local function is_redstone(def)
|
local function is_redstone(def)
|
||||||
return def._mcl_redstone or def.groups.redstone_wire
|
return def._mcl_redstone or def.groups.redstone_wire or def.groups.opaquely_powered
|
||||||
end
|
end
|
||||||
|
|
||||||
local function is_tool(def)
|
local function is_tool(def)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user