marcelo-mason / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
56 stars 67 forks source link

TreeFeller and preciosstones issue #1098

Closed arturek1666 closed 5 years ago

arturek1666 commented 7 years ago

Hi, i had notice that precios stones don't protect when one plugin is installed with is treefeller, What i mean is that people can broke wood from protected region. I am not sure if i have to report to the treefeller author or preciosstones and that's why I first informed here.

I am using newest version of paperspigot and newest preciosstones for 1.12

marcelo-mason commented 7 years ago

Ideally, the priority to their BlockBreakEvent should be set to EventPriority.HIGH one below what protection plugins use EventPriority.HIGHEST , to allow them to cancel the event. Otherwise, they would have to hook into PS Api to see if the area is protected before allowing block-break.