Teleporting within EntityPortalEvent - javadocs addition suggestion

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      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.

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

              Created:
              Updated: