[SPIGOT-6105] Changing destination world in PlayerPortalEvent does not work Created: 26/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: | William Surgeon | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | 1.16.2, API, PlayerPortalEvent | ||
Environment: |
OS: Ubuntu Server 18.04.3 (Linux: 4.15.0-70-generic) |
Issue Links: |
|
||||||||
Version: | git-Spigot-d65430a-bad55db | ||||||||
Guidelines Read: | Yes |
Description |
The original world is used to create a new ShapeDetectorShape instead of the desired world in EntityPlayer#a(WorldServer). In the patch for EntityPlayer, it is at this line. Note: To test this, you need a world that is not part of the default set. Using the Test Plugin:
|