summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2017-01-28 16:02:20 -0500
committercheapie <no-email-for-you@example.com>2017-01-28 15:02:20 -0600
commit6ea8c75c89b77ddb73c17b7db22b9d915dd180b1 (patch)
tree02a9924d6654f7adce8fd282666212728d8301f0
parent526521e7a6f9e0425adee90641ef85e32560ac8c (diff)
downloadplasticbox-6ea8c75c89b77ddb73c17b7db22b9d915dd180b1.tar
plasticbox-6ea8c75c89b77ddb73c17b7db22b9d915dd180b1.tar.gz
plasticbox-6ea8c75c89b77ddb73c17b7db22b9d915dd180b1.tar.bz2
plasticbox-6ea8c75c89b77ddb73c17b7db22b9d915dd180b1.tar.xz
plasticbox-6ea8c75c89b77ddb73c17b7db22b9d915dd180b1.zip
use revised unifieddyes API (on_destruct -> after_dig_node) (#6)
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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,
})