GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
141 stars 61 forks source link

@Aoe targeters can damage/kill mobs in claimed regions (Griefprevention) #4259

Closed Nightcraftop closed 1 month ago

Nightcraftop commented 2 months ago

Describe the bug

Good afternoon, Players are able to damage/kill animals in other players protected claims using the Plummet enchant. More specifically the @Aoe targeter can damage/kill protected animals. These protected regions are achieved with GriefPrevention.

Example of one of the enchants that's able to achieve this:

plummet: display: '%group-color%Plummet' description: |- Deal damage to nearby mobs when taking fall damage. applies-to: Boots type: FALL_DAMAGE settings: showActionBar: true group: ULTIMATE applies:

How to reproduce

Using the Plummet enchant, players can take fall damage in a farm to damage/kill protected animals.

Screenshots / Videos

No response

"/ae plinfo" link

https://paste.md-5.net/axutotuhih

Server Log

No response

ThomasWega commented 2 months ago

Any errors? We now have issues like these with Aoe https://github.com/GC-spigot/AdvancedEnchantments/issues/4260

ThomasWega commented 1 month ago

Should be fixed in the last update