Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6105

Changing destination world in PlayerPortalEvent does not work


    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • OS: Ubuntu Server 18.04.3 (Linux: 4.15.0-70-generic)
      Java: Oracle JRE 1.8.0 update 161 build 12

    • git-Spigot-d65430a-bad55db
    • Yes

      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.
      If you use the attached plugin, it will create a test world on it's own.

      Using the Test Plugin:

      • /test_portal_event = Set a meta flag to sent you to the test world

            Unassigned Unassigned
            willies952002 William Surgeon
            0 Vote for this issue
            0 Start watching this issue