From 6ea8c75c89b77ddb73c17b7db22b9d915dd180b1 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 28 Jan 2017 16:02:20 -0500 Subject: use revised unifieddyes API (on_destruct -> after_dig_node) (#6) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 94be57f..8bd6a69 100644 --- a/init.lua +++ b/init.lua @@ -6,7 +6,7 @@ minetest.register_node("plasticbox:plasticbox", { sounds = default.node_sound_stone_defaults(), paramtype2 = "color", palette = "unifieddyes_palette.png", - on_destruct = unifieddyes.on_destruct, + after_dig_node = unifieddyes.after_dig_node, on_rightclick = unifieddyes.on_rightclick, }) -- cgit v1.2.3