aboutsummaryrefslogtreecommitdiff
path: root/clientmods/preview
diff options
context:
space:
mode:
Diffstat (limited to 'clientmods/preview')
-rw-r--r--clientmods/preview/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua
index f03e8e112..3085eda24 100644
--- a/clientmods/preview/init.lua
+++ b/clientmods/preview/init.lua
@@ -42,3 +42,9 @@ core.register_chatcommand("dump", {
core.after(2, function()
print("[PREVIEW] loaded " .. modname .. " mod")
end)
+
+core.register_on_dignode(function(pos, node)
+ print("pos:" .. dump(pos))
+ print("node:" .. dump(node))
+ return false
+end) \ No newline at end of file