Inherit map colors

This commit is contained in:
Aaron Suen 2023-12-02 20:46:43 -05:00
parent fcc6061c95
commit d3dba3d9b7

View File

@ -179,7 +179,8 @@ local function registercore(def, typedesc, stairpart)
on_dig = node_on_dig,
after_dig_node = get_node_after_dig(),
on_place = get_node_place(stairpart, stairname),
silktouch = false
silktouch = false,
mapcolor = basedef.mapcolor
})
nodecore.underride(stairdef, basedef)
cleangroups(stairdef)
@ -201,7 +202,8 @@ local function registercore(def, typedesc, stairpart)
on_dig = node_on_dig,
after_dig_node = get_node_after_dig(),
on_place = get_node_place(stairpart, stairname),
node_placement_prediction = stairname
node_placement_prediction = stairname,
mapcolor = basedef.mapcolor
})
nodecore.underride(itemdef, basedef)
cleangroups(itemdef)