Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4342

PlayerMoveEvent sets wrong direction of location when canceling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • git-Spigot-0ede7d0-ee5efeb (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
    • Yes

    Description

      When canceling the PlayerMoveEvent, the direction of the location of the player set back to the vector (0/0/1). Therefore, the player is forced to face south, no matter where he looked before, which is obviously horrible for most circumstances when you just wanna block all of his movements, but in another direction.

      Attached is a simple plugin, based on 1.13.1-R0.1-SNAPSHOT, to toogle the cancelling of this event by command "cancel".

      Attachments

        Activity

          People

            Unassigned Unassigned
            Fenmore Tobias Thirolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: