Adjust event priority to resolve conflict with AutoSell, fixes #1307

This commit is contained in:
PikaMug 2020-06-22 04:10:01 -04:00
parent 3aff73019c
commit 3aba37ffc0

View File

@ -39,7 +39,7 @@ public class BlockListener implements Listener {
}
@SuppressWarnings("deprecation")
@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.HIGH) // Because HIGHEST conflicts with AutoSell by extendedclip
public void onBlockBreak(BlockBreakEvent evt) {
if (plugin.canUseQuests(evt.getPlayer().getUniqueId())) {
final ItemStack blockItemStack = new ItemStack(evt.getBlock().getType(), 1, evt.getBlock().getState()