mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Change event priority to HIGHEST so other plugins can listen to BlockBreakEvent after Jobs (#1197)
This commit is contained in:
parent
8d65bb7b7e
commit
f8d16fdfff
@ -362,7 +362,7 @@ public class JobsPaymentListener implements Listener {
|
||||
Jobs.action(jPlayer, new ItemActionInfo(contents, ActionType.BREW));
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void onBlockBreak(BlockBreakEvent event) {
|
||||
final Block block = event.getBlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user