This commit is contained in:
Elias Fleckenstein 2021-01-17 10:41:13 +01:00
parent c70d33fc8e
commit b54b6c4c97

View File

@ -127,7 +127,7 @@ function xpanes.register_pane(name, def)
connect_sides = { "left", "right" }, connect_sides = { "left", "right" },
_mcl_blast_resistance = def._mcl_blast_resistance, _mcl_blast_resistance = def._mcl_blast_resistance,
_mcl_hardness = def._mcl_hardness, _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) local groups = table.copy(def.groups)
@ -156,7 +156,7 @@ function xpanes.register_pane(name, def)
drop = drop, drop = drop,
_mcl_blast_resistance = def._mcl_blast_resistance, _mcl_blast_resistance = def._mcl_blast_resistance,
_mcl_hardness = def._mcl_hardness, _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({ minetest.register_craft({