Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2016 16:55
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 anonymous/5b588e25bd26af806d91 to your computer and use it in GitHub Desktop.
Save anonymous/5b588e25bd26af806d91 to your computer and use it in GitHub Desktop.
minetest.emerge_area(minp, maxp, function(blockpos, action, calls_remaining)
if calls_remaining <= 0 then
placetreasure(minp, maxp, player)
end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment