mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-18 11:16:23 +01:00
(6.2.1)
- (bugfix) Fix priorities of InstaBreak hook.
This commit is contained in:
parent
980a39c693
commit
306e1d41f0
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: CompatNoCheatPlus
|
||||
main: me.asofold.bpl.cncp.CompatNoCheatPlus
|
||||
version: 6.2.0
|
||||
version: 6.2.1
|
||||
loadbefore:
|
||||
- NoCheatPlus
|
||||
softdepend:
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user