mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 06:54:54 +02:00
Resolve "Merge the best from 7.40 branch"
This commit is contained in:
11
SabrehavenOTClient/modules/gamelib/util.lua
Normal file
11
SabrehavenOTClient/modules/gamelib/util.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
function postostring(pos)
|
||||
return pos.x .. " " .. pos.y .. " " .. pos.z
|
||||
end
|
||||
|
||||
function dirtostring(dir)
|
||||
for k,v in pairs(Directions) do
|
||||
if v == dir then
|
||||
return k
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user