forked from Mirrorlandia_minetest/mod-sneeker
Add debug message when spawned
This commit is contained in:
parent
0cb069edeb
commit
e733689692
@ -50,6 +50,11 @@ core.register_abm({
|
|||||||
.. tostring(math.floor(pos.x))
|
.. tostring(math.floor(pos.x))
|
||||||
.. "," .. tostring(math.floor(pos.y))
|
.. "," .. tostring(math.floor(pos.y))
|
||||||
.. "," .. tostring(math.floor(pos.z)))
|
.. "," .. tostring(math.floor(pos.z)))
|
||||||
|
else
|
||||||
|
sneeker.log("debug", "Spawned at: "
|
||||||
|
.. tostring(math.floor(pos.x))
|
||||||
|
.. "," .. tostring(math.floor(pos.y))
|
||||||
|
.. "," .. tostring(math.floor(pos.z)))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user