BG-Software-LLC / WildChests

Sell chests, auto crafters, storage units, larger chests and more in one plugin!
https://bg-software.com/wildchests/
GNU General Public License v3.0
38 stars 23 forks source link

plugin does not respect when another plugin cancels the BlockBreakEvent #49

Closed snowgears closed 3 years ago

snowgears commented 3 years ago

My plugin Shop cancels the BlockBreakEvent of a chest if its a Shop within my plugin.

If someone creates a shop on one of your special chests, when that chest is broken, WildChests does not respect the fact that my Shop plugin has already cancelled the event.

Skizzles commented 3 years ago

Can confirm https://youtu.be/QswS2pbm78s

OmerBenGera commented 3 years ago

WildChests checks for ignoring of the event in HIGHEST priority. If your Shop plugin for no reason cancels it on HIGHEST or MONITOR priority, then WildChests will not know about it. You should contact your Shop plugin's author and ask them how do they cancel the event, and make sure they use the NORMAL priority instead.