init: mcl2: Fix syntax of node registration

(Should) fix #24.
master
LNJ 2018-12-03 17:37:09 +01:00 committed by GitHub
parent c0707bcbad
commit 3834835046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ 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}
groups = {handy = 1, axey = 1, flammable = 3, wood = 1, building_block = 1, material_wood = 1},
_mcl_blast_resistance = 15,
_mcl_hardness = 2,
})
@ -342,7 +342,7 @@ else
core.register_node("drawers:trim", {
description = S("Wooden Trim"),
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