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

When teleporting a player between worlds during certain events, an error is thrown.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • Ubuntu 18.04

    • This server is running CraftBukkit version git-Spigot-c3a49df-b0c6dfe (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

      When teleporting the player during certain events, a ticking entity error is raised. This seems to happen during a few events I've noticed anecdotally, but a surefire example is given below.

      Example
      When the player is the victim of EntityDamageByEntityEvent (within which they don't die, and the event is cancelled) teleporting the player from (for example) the nether to the overworld will cause a "Removing entity while ticking!" error.

      From discussions with md_5, this seems unintended, and potentially fixable in the World#teleport method.

      Example stacktrace:

      https://paste.md-5.net/azamotidif.nginx

       

       

      Further errors also occur repeatedly as a result of this. The player becomes a "ghost" can't send messages/commands, can't interact with anyone or blocks.

      https://paste.md-5.net/ezaxumejoz.bash

       

      Additionally, a similar error seems to occur if the player is kicked in the event. Stacktraces can be provided if desired.

            Unassigned Unassigned
            Liquake Liquake
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: