mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-06 00:18:39 +01:00
Adjust event priority to resolve conflict with AutoSell, fixes #1307
This commit is contained in:
parent
3aff73019c
commit
3aba37ffc0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user