issue #35 fixed

This commit is contained in:
Joachim Stolberg 2019-07-20 11:30:25 +02:00
parent 21c8be48f5
commit 754bbde350
2 changed files with 16 additions and 0 deletions

@ -1,6 +1,19 @@
# Release Notes for ModPack TechPack [techpack]
## V2.03.04 (2019-07-20)
### Additions
### Removals
### Changes
### Fixes
- Use Unified Dyes on_dig where needed (issue #35)
## V2.03.03 (2019-05-22)
### Additions

@ -45,6 +45,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
end,
on_construct = unifieddyes.on_construct,
on_dig = unifieddyes.on_dig,
paramtype = "light",
paramtype2 = "color",
@ -54,6 +55,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, ud_param2_colorable = 1},
is_ground_content = false,
drop = "tubelib_addons2:lamp_off"
})
@ -76,6 +78,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
end,
on_dig = unifieddyes.on_dig,
light_source = minetest.LIGHT_MAX,
is_ground_content = false,
drop = "tubelib_addons2:lamp_off"