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

Add ItemStack to HangingPlaceEvent

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • 1.16.5
    • Yes

    Description

      Hello,

      It would be very handy to get the item or the player's hand to the HangingPlaceEvent as well. Currently there is no way to get the item from the HangingPlaceEvent, because the hand is also unknown.
      The item is already known in the method a in the ItemHanging class and would only need to be added to the event.

      https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/hanging/HangingPlaceEvent.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            Foorcee Foorcee
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: