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

No Events Exist For Wolf Armor

XMLWordPrintable

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

      I tried creating a way to stop people from damaging dog armor on people dogs using a claim plugin called Grief Defender. I asked the plugin creator and he said 

      "Spigot has not added any events that I see for Wolf Armor.
       
      {{if (this.count == 1 && entityliving instanceof EntityHuman)

      { org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerItemBreakEvent((EntityHuman) entityliving, this); }

      }}They only call the item damage/break events for player"
      Right now there is no way to protect dog armor from being damaged using any plugin from my understand without this event.

            Doc Doc
            Going Going
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: