Skip to content

Instantly share code, notes, and snippets.

@sofar
Created April 6, 2017 05:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sofar/17acc02aab7c50b53e7103795c465a59 to your computer and use it in GitHub Desktop.
Save sofar/17acc02aab7c50b53e7103795c465a59 to your computer and use it in GitHub Desktop.
local me
local function zz()
if not me then
print("waiting")
me = core.localplayer
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