diff options
Diffstat (limited to 'functions.lua')
-rw-r--r-- | functions.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/functions.lua b/functions.lua new file mode 100644 index 0000000..83887f8 --- /dev/null +++ b/functions.lua @@ -0,0 +1,7 @@ + + +function mesecons_debug.get_blockpos(pos) + return {x = math.floor(pos.x / 16), + y = math.floor(pos.y / 16), + z = math.floor(pos.z / 16)} +end |