Overriding teleport target location cancels teleport
Flying--Dutchman opened this issue ยท 1 comments
Currently I'm trying to change the target location, if a player uses a specific target portal.
The teleport is working correctly, but the player gets immediately teleported back to the start portal.
Say portal A point to portal B. Using the PlayerTeleport event, the new target location is set to WorldSpawn. The player will be correctly ported to the WorldSpawn, but then ported back to portal A.
Fixed in newer builds.
https://ci.minebench.de/job/TravelPortals/