use Unified Dyes on_dig where needed - requires Unified Dyes commit 9ff40a7f or later

This commit is contained in:
Vanessa Dannenberg
2019-07-18 02:16:46 -04:00
parent 80352d69e1
commit 9dcc6c2b4d
10 changed files with 25 additions and 2 deletions

View File

@ -38,6 +38,7 @@ minetest.register_node("lavalamp:lavalamp", {
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1},
sounds = default.node_sound_glass_defaults(),
on_construct = unifieddyes.on_construct,
on_dig = unifieddyes.on_dig,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
node.name = "lavalamp:lavalamp_off"
minetest.swap_node(pos, node)