From 82f9d10ff0b2b3d50ed5c11d7a1a0d023dcbbb28 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 28 Jan 2017 16:02:20 -0500 Subject: [PATCH] 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, })