- (bugfix) Fix priorities of InstaBreak hook.
This commit is contained in:
asofold 2012-09-13 00:07:20 +02:00
parent 980a39c693
commit 306e1d41f0
3 changed files with 5 additions and 2 deletions

View File

@ -43,6 +43,9 @@ add a good mechanism for adding external configurable hooks (read automatically
VERSION HISTORY
---------------------------
(6.2.1)
- (bugfix) Fix priorities of InstaBreak hook.
(6.2.0)
- (add) Generic insta break hook.
- (add) Option to let mcMMO use the insta break hook.

View File

@ -1,6 +1,6 @@
name: CompatNoCheatPlus
main: me.asofold.bpl.cncp.CompatNoCheatPlus
version: 6.2.0
version: 6.2.1
loadbefore:
- NoCheatPlus
softdepend:

View File

@ -72,7 +72,7 @@ public class HookInstaBreak extends AbstractHook implements ConfigurableHook, Li
}
}
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = false)
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = false)
public void onBlockBreakMONITOR(final BlockBreakEvent event){
if (skipNext){
final Player player = event.getPlayer();