Skip to content

Instantly share code, notes, and snippets.

@sofar
Created April 7, 2017 21:39
Show Gist options
  • Save sofar/96b1c80601a2865cbc9c6e195a10c6dd to your computer and use it in GitHub Desktop.
Save sofar/96b1c80601a2865cbc9c6e195a10c6dd to your computer and use it in GitHub Desktop.
local me
local function zz()
if not me then
me = core.localplayer
print(dump(me))
else
print(minetest.pos_to_string(me:get_pos()))
end
minetest.after(1, zz)
end
minetest.after(1, zz)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment