diff options
Diffstat (limited to 'example/print-node.lua')
-rwxr-xr-x | example/print-node.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/print-node.lua b/example/print-node.lua index d72f474..30d2506 100755 --- a/example/print-node.lua +++ b/example/print-node.lua @@ -16,7 +16,7 @@ while true do elseif evt.type == "pkt" then pos = (evt.pkt_data.pos / hydra.BS + vec3(0, -1, 0)):round() elseif evt.type == "timeout" and pos then - local node = client.map:node(pos) + local node = client.map:get():node(pos) print(pos, node and node.param0) end end |