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

Add ItemStack to HangingPlaceEvent

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.16.5
    • Yes

      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

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

              Created:
              Updated:
              Resolved: