Skip to content

When teleporting entities the player is riding it gets sus #7842

@Dqu1J

Description

@Dqu1J

Expected behavior

When teleporting entities the player is riding, like a minecart, to near world border, it will bug and the player would appear flying in one place serverside, when clientside the player walks around normally. When relogging, the player will teleport to the location of the teleported entity. Sometimes it also causes very bad lag, getting up to 2100+ mspt, but this doesn't happen always.

Observed/Actual behavior

The player should dismount correctly

Steps/models to reproduce

To reproduce: (2 players needed)

  1. Run /summon pig ~ ~ ~ {Passengers:[{id:minecart}]}
  2. Ask the second player to go in the minecart
  3. Teleport the pig to near world border (look at the pig and type /tp [select uuid of pig] 2999999 ~ ~)
  4. The pig will teleport, but the minecart and player stay at the same place. Player won't be able to dismount the minecart at this point.
  5. Teleport the minecart to near world border (look at the minecart and type /tp [select uuid of minecart] 2999999 ~ ~)
  6. Now, it gets sus. The player would dismount clientside, but serverside some weird things would happen. The player would appear flying in the same place, but clientside the player can walk and place blocks around, which could cause extreme lag

Plugin and Datapack List

Plugins (11): BlockLocker, CoreProtect, DiscordSRV, floodgate, Geyser-Spigot, InvSeePlusPlus, LuckPerms, ProtocolLib, Themis, TradeShop, ViaVersion

Paper version

This server is running Paper version git-Paper-216 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 30cb7d0)
You are running the latest version

Other

Server config files: https://paste.gg/p/anonymous/e0c5832cc79a453f8827285691bbf294
Video: https://www.youtube.com/watch?v=EaB5Cxd_-70

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.upstream: vanillaIssue exists in vanilla Minecraft.version: 1.19Game version 1.19

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions