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

PlayerInteractEvent doesn't fire when clicking on air

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Windows 10, Java 8u181 64 bit.

      The server has no plugins except that used for testing.

    • This server is running CraftBukkit version git-Spigot-0ede7d0-c88ae6b (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
    • Yes

      When clicking on air the event PlayerInteractEvent doesn't fire, but clicking on a block it works.

      This affects even versions 1.13 and 1.12.2

      Test Code:

      @EventHandler
      public void onPlayerInteract(PlayerInteractEvent event)
      {
          System.out.println(event.getAction());
      }
      

       

            Unassigned Unassigned
            Leomixer17 Leonardo Di Gianfelice Stornelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: