mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-01 23:13:48 +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));
|
Jobs.action(jPlayer, new ItemActionInfo(contents, ActionType.BREW));
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.MONITOR)
|
@EventHandler(priority = EventPriority.HIGHEST)
|
||||||
public void onBlockBreak(BlockBreakEvent event) {
|
public void onBlockBreak(BlockBreakEvent event) {
|
||||||
final Block block = event.getBlock();
|
final Block block = event.getBlock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user