Fix redstone block missing from creative inv

This commit is contained in:
Elias Åström 2024-12-11 20:32:13 +01:00 committed by ryvnf
parent ac497b2c6c
commit 8c15a076f1

View File

@ -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
def.description ~= "" then
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
local function is_tool(def)