[SPIGOT-7815] No Events Exist For Wolf Armor Created: 04/Jul/24 Updated: 25/Dec/24 Resolved: 05/Jul/24 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Going | Assignee: | Doc |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Version: | - |
Guidelines Read: | Yes |
Description |
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. }}They only call the item damage/break events for player" |
Comments |
Comment by Doc [ 04/Jul/24 ] |
Created PR for allow the canceled event for damage entity not damage the armor of wolfs. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1444/overview
|
Comment by Doc [ 04/Jul/24 ] |
Maybe can be good handle the EntityDamageEvent for cancel that damage based in how the damage to wolf first try damage the armor based in tags and if not the wolf... That or like suggest the ticket al ItemBreakEvent for non players |