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

Teleporting within EntityPortalEvent - javadocs addition suggestion

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Irrelevant

    • This server is running CraftBukkit version git-Spigot-ea7e48b-1ec1b05 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
    • Yes

      Since the EntityPortalEvent is called within the Entity#move method, if one was to teleport the entity within this event, the "moved wrongly!" and/or "moved too quickly!" warnings are generated.

      I would therefore suggest the javadocs to be updated with a note pointing out that teleportation should be scheduled on the next tick.

            Unassigned Unassigned
            drives_a_ford Mart Ratas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: