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

Player swimming status is not synchronized between server and client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15
    • None
    • Unconfirmed
    • (Unassigned)

      This is the problem I encountered when coding the server plugin.
      When you are swimming, attack other creatures, your swim status on the server-side will become "false", but the client is still swimming. 

      I guess this is a code conflict because the "sprint" status of the player when attacking other creatures will be set to "false", which will cause the player's swimming status to be set to "false"?

            Unassigned Unassigned
            RERERE RJL
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: