EmilHernvall/tregmine — pull request #254 by lDiverse (2014-01-20 21:22:46+00:00)
Title: Fixed Teleport Glitching

It's a common glitch on Tregmine that if your player has a timeout on teleporting (like 5 seconds for residents) then you can spam someone with teleports and if they teleport to somewhere either too far for your teleport spell or into land you are not suppose to be then it will actually allow you.

To stop this I have inserted some checks when the task is ran to check the distance, and the permissions.