[SPIGOT-6152] End exit gates in worlds generated with the WorldCreator class do not work correctly Created: 25/Sep/20  Updated: 29/Sep/20  Resolved: 29/Sep/20

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

Type: Bug Priority: Minor
Reporter: Drew Sly Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.16, End, EndGateWay, Spigot, WorldCreator, bug, event
Environment:

Windows 10 Home, Java 11


Version: git-Spigot-17d78db-f8d4da0 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

I am a plugin developer, and the plugin I work on most is a multi-world management plugin hat utilizes the WorldCreator class to generate worlds. I noticed, while I was working on an update for 1.16, that the exit gate in End words created by the WorldCreator class were not working correctly. When a player uses the exit gate in an End generated by the WorldCreator, the PlayerPortalEvent is called instead of the PlayerRespawnEvent. This causes players to end up in the default world's end instead of the overworld.

 

To be sure it wasn't my plugin, I created a dummy plugin that simply instanced the WorldCreator class and generated an End world. After quickly killing the ender dragon, I hopped into the portal and found myself in the default End like before.

 

To recreate this,

  1. Generate a world with the WorldCreator class
  2. Teleport to that end
  3. Kill the ender dragon
  4. Use the exit gate

I tested this on 1.15 and 1.14, and the exit gates worked fine on those versions. I tested with spigot builds on 1.16, 1.16.1, and 1.16.2 and the exit gates were not working on any of those versions.


Generated at Sat Dec 13 15:21:24 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.