mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
parent
7c88996210
commit
fd3588d49c
8 changed files with 31 additions and 21 deletions
|
@ -43,8 +43,9 @@ core.register_node("callbacks:callback_node", {
|
|||
print_to_everything("callbacks:callback_node:after_dig_node("..core.pos_to_string(pos)..")")
|
||||
end,
|
||||
|
||||
on_timer = function(pos, elapsed)
|
||||
print_to_everything("callbacks:callback_node:on_timer(): elapsed="..dump(elapsed))
|
||||
on_timer = function(pos, elapsed, node, timeout)
|
||||
print_to_everything("callbacks:callback_node:on_timer(): elapsed="..
|
||||
elapsed .. " node=" .. dump(node) .. " timeout=" .. timeout)
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue