So I assume for TaskManager it would be like this:
Was:
should be:
Was:
Code:
local tele = GetClosestAetheryteToMapIDPos(location.map,location)
dbg("teleporting player to aetherite ".. tele..", mesh: ("..location.mesh..")")
Player:Teleport(tele)
should be:
Code:
local mapid,aethid = GetAetheryteByMapID(location.map,location)
dbg("teleporting player to aetherite ".. aethid ..", mesh: ("..location.mesh..")")
Player:Teleport(aethid)