[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: |
![]() |
||||||||
Issue Links: |
|
||||||||
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(). |