[SPIGOT-6099] PlayerPortalEvent setTo() ignores world parameter of given location Created: 24/Aug/20  Updated: 26/Aug/20  Resolved: 26/Aug/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Kajus Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Event, Portal, teleport

Attachments: File PlayerPortalEvent-1.0.jar    
Issue Links:
Duplicate
is duplicated by SPIGOT-6105 Changing destination world in PlayerP... Resolved
Version: git-Spigot-d65430a-bad55db (MC: 1.16.2)
Guidelines Read: Yes

 Description   

If you do setTo Location of a PlayerPortalEvent with Cause End_Portal, it ignores what world that new Location is in. That was not the case in 1.15.2.

My Test-plugin tries to teleport you to the default overworld spawnlocation when PlayerPortalEvent is called using e.setTo().


Generated at Fri Mar 14 15:03:44 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.