This commit is contained in:
Lizzy Fleckenstein 2021-01-17 10:41:13 +01:00
parent c70d33fc8e
commit b54b6c4c97
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ function xpanes.register_pane(name, def)
connect_sides = { "left", "right" },
_mcl_blast_resistance = def._mcl_blast_resistance,
_mcl_hardness = def._mcl_hardness,
_mcl_silk_touch_drop = def._mcl_silk_touch_drop,
_mcl_silk_touch_drop = def._mcl_silk_touch_drop and {"xpanes:" .. name .. "_flat"},
})
local groups = table.copy(def.groups)
@ -156,7 +156,7 @@ function xpanes.register_pane(name, def)
drop = drop,
_mcl_blast_resistance = def._mcl_blast_resistance,
_mcl_hardness = def._mcl_hardness,
_mcl_silk_touch_drop = def._mcl_silk_touch_drop,
_mcl_silk_touch_drop = def._mcl_silk_touch_drop and {"xpanes:" .. name .. "_flat"},
})
minetest.register_craft({