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

PlayerInteractEvent fires when item is dropped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.15.2
    • Yes

      While holding an item and dropping it the air theĀ PlayerInteractEvent fires with Action.LEFT_CLICK_AIR

      @EventHandler
      public void onPlayerUse(PlayerInteractEvent e) {
          Player player = e.getPlayer();
          player.sendMessage(e.getAction().toString());
      }
      

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

              Created:
              Updated:
              Resolved: