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

Door seems to be open after cancelling PlayerInteractEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None

      I used the PlayerInteractEvent to detect if a player right-clicks a door and, if so, to
      cancel the Event.
      When the lower half of the door is clicked, it all works well, but when the upper half
      is clicked, the door seems to be open, even if it is closed (you can't pass trough it).

      A related problem occurs if I use the BlockBreakEvent to prevent players from breaking doors:
      The half of the door I try to break reappears but the other half doesn't.

            Unassigned Unassigned
            Oaxbert Florian Friesenegger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: