mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Check for the block before throwing the fake break event.
This commit is contained in:
parent
a5d7bee939
commit
6f63818e5f
@ -430,11 +430,16 @@ public class Skills {
|
||||
case GIGA_DRILL_BREAKER:
|
||||
case SUPER_BREAKER:
|
||||
case LEAF_BLOWER:
|
||||
if (!ability.blockCheck(block)) {
|
||||
activate = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!Misc.blockBreakSimulate(block, player, true)) {
|
||||
activate = false;
|
||||
break;
|
||||
}
|
||||
/* FALLS THROUGH */
|
||||
break;
|
||||
|
||||
case GREEN_TERRA:
|
||||
if (!ability.blockCheck(block)) {
|
||||
|
Loading…
Reference in New Issue
Block a user