forked from VoxeLibre/VoxeLibre
Fix #987
This commit is contained in:
parent
c70d33fc8e
commit
b54b6c4c97
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue