mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-06 01:50:35 +02:00
paranoid bugfixing
This commit is contained in:
@ -2,7 +2,7 @@ local api = stairsplus.api
|
|||||||
local register_craft_schema = api.register_craft_schema
|
local register_craft_schema = api.register_craft_schema
|
||||||
|
|
||||||
for shape, shape_def in pairs(api.registered_shapes) do
|
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({
|
register_craft_schema({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = ("micro_8 %i"):format(shape_def.eighths),
|
output = ("micro_8 %i"):format(shape_def.eighths),
|
||||||
|
Reference in New Issue
Block a user