mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-30 07:20:39 +02:00
Merge remote-tracking branch 'github/master'
This commit is contained in:
@ -450,6 +450,14 @@ local function craftguide_craft(player, formname, fields)
|
||||
local alternate = ui.alternate[player_name]
|
||||
|
||||
local craft = crafts[alternate]
|
||||
if not craft.width then
|
||||
if not craft.output then
|
||||
minetest.log("warning", "[unified_inventory] Craft has no output.")
|
||||
else
|
||||
minetest.log("warning", ("[unified_inventory] Craft for '%s' has no width."):format(craft.output))
|
||||
end
|
||||
return
|
||||
end
|
||||
if craft.width > 3 then return end
|
||||
|
||||
ui.craftguide_match_craft(player, "main", "craft", craft, amount)
|
||||
|
Reference in New Issue
Block a user