MineClone 2 bug fix for trim

After looking at the code again I realized the trim block will also have the same issue as the drawers did.
This commit is contained in:
isaiah658 2018-10-11 21:11:16 -05:00 committed by LNJ
parent 9499d241aa
commit c0707bcbad

@ -330,11 +330,21 @@ end
-- Register drawer trim -- Register drawer trim
-- --
core.register_node("drawers:trim", { if core.get_modpath("mcl_core") and mcl_core then
core.register_node("drawers:trim", {
description = S("Wooden Trim"),
tiles = {"drawers_trim.png"},
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1}
_mcl_blast_resistance = 15,
_mcl_hardness = 2,
})
else
core.register_node("drawers:trim", {
description = S("Wooden Trim"), description = S("Wooden Trim"),
tiles = {"drawers_trim.png"}, tiles = {"drawers_trim.png"},
groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2} groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2}
}) })
end
core.register_craft({ core.register_craft({
output = "drawers:trim 6", output = "drawers:trim 6",