mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-22 06:33:44 +01:00
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:
parent
9499d241aa
commit
c0707bcbad
20
init.lua
20
init.lua
@ -330,11 +330,21 @@ end
|
||||
-- Register drawer trim
|
||||
--
|
||||
|
||||
core.register_node("drawers:trim", {
|
||||
description = S("Wooden Trim"),
|
||||
tiles = {"drawers_trim.png"},
|
||||
groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2}
|
||||
})
|
||||
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"),
|
||||
tiles = {"drawers_trim.png"},
|
||||
groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2}
|
||||
})
|
||||
end
|
||||
|
||||
core.register_craft({
|
||||
output = "drawers:trim 6",
|
||||
|
Loading…
Reference in New Issue
Block a user