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

Material.IRON_DOOR_BLOCK Update re-triggers PlayerInteractEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • None
    • Custom code attached

      The events work normally when used for class Door of all types, except IRON_DOOR_BLOCK

      Where I have proved that the PlayerInteractEvent is retriggered upon...

      referenceState.setData((MaterialData)referenceData);

      referenceState.update();

      Basically I am flipping the Door isOpen() Boolean,

      Under the fault condition of Door = IRON_DOOR_BLOCK, the end result will always be NOT changed.

            Unassigned Unassigned
            Goldentoenail Phillip
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: