Inherit map colors
This commit is contained in:
parent
fcc6061c95
commit
d3dba3d9b7
6
init.lua
6
init.lua
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user