mirror of
https://github.com/cheapie/plasticbox.git
synced 2024-12-04 21:23:50 +01:00
use revised unifieddyes API (on_destruct -> after_dig_node) (#6)
This commit is contained in:
parent
a675b3b277
commit
82f9d10ff0
2
init.lua
2
init.lua
@ -6,7 +6,7 @@ minetest.register_node("plasticbox:plasticbox", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette.png",
|
palette = "unifieddyes_palette.png",
|
||||||
on_destruct = unifieddyes.on_destruct,
|
after_dig_node = unifieddyes.after_dig_node,
|
||||||
on_rightclick = unifieddyes.on_rightclick,
|
on_rightclick = unifieddyes.on_rightclick,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user