Mojira Archive
MC-259221

Using the "/ride" command on invalid entities teleports players to their position

The Bug:

Using the "/ride" command on invalid entities teleports players to their position.

Steps to Reproduce:

  1. Summon a marker by using the command provided below.
    /summon minecraft:marker ~ ~ ~
  2. Travel around ten blocks away from the marker.
  3. Attempt to ride the marker using the command provided below.
    /ride @s mount @e[type=marker,limit=1,sort=nearest]
  4. Take note of how you don't ride the marker but are teleported to its position.

Observed Behavior:

The player is teleported to the entity's position.

Expected Behavior:

The player would not be teleported to the entity's position.

Fixed

Shuddery

[Mojang] slicedlime

2023-01-18, 09:41 PM

2024-10-16, 10:50 AM

2023-02-07, 02:56 PM

7

4

Confirmed

Normal

Platform

Commands

23w03a, 23w05a

23w06a