functions.lua 159 B

12345678
  1. function mesecons_debug.get_blockpos(pos)
  2. return {x = math.floor(pos.x / 16),
  3. y = math.floor(pos.y / 16),
  4. z = math.floor(pos.z / 16)}
  5. end