paranoid bugfixing

This commit is contained in:
flux 2022-06-26 20:37:20 -07:00
parent e6f58c3a07
commit 75969eb9d7
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ local api = stairsplus.api
local register_craft_schema = api.register_craft_schema
for shape, shape_def in pairs(api.registered_shapes) do
if shape ~= "micro_8" then
if shape ~= "micro_8" and math.floor(shape_def.eighths) > 0 then
register_craft_schema({
type = "shapeless",
output = ("micro_8 %i"):format(shape_def.eighths),