Mojira Archive
MC-267364

Teleporting in the air is considered flying by server

When being teleported into the air, a server with flying disabled will kick you for flying in survival/adventure mode.

Steps to reproduce:

  1. Create a server with allow-flight=false
  2. Enter the server
  3. Use
    /gamemode survival
    /setblock ~ ~-1 ~ chain_command_block{auto:1b,Command:"teleport @p ~ ~3 ~"}
    /setblock ~ ~ ~ repeating_command_block[facing=down]{auto:1b,Command:"teleport @p ~ 0 ~"}
  4. Wait for a few seconds
    -> Get kicked for flying

Expected behavior:
Since it's a command the server (via functions or command blocks) is running, the "fly timer" should be reset.

Unresolved

user-f2760

2023-12-18, 11:33 AM

2025-01-02, 12:11 PM

10

6

Confirmed

Important

Platform

Commands, Dedicated Server

1.20.4 - 1.21.41.20.4, 23w51b, 1.20.6, 24w21b, 1.21, 1.21.4

-