[SPIGOT-5262] Teleporting within EntityPortalEvent - javadocs addition suggestion Created: 11/Aug/19  Updated: 11/Aug/19

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

Type: New Feature Priority: Minor
Reporter: Mart Ratas Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Javadocs
Environment:

Irrelevant


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

 Description   

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.


Generated at Thu Apr 03 15:45:19 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.