Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267364

Teleporting in the air is considered flying by server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 23w51b, 1.20.6, 24w21b, 1.21
    • None
    • Confirmed
    • Commands, Dedicated Server
    • Important
    • Platform

      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.

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: