This commit is contained in:
nossr50
2019-04-04 00:39:00 -07:00
parent b8b0be71b1
commit f1d9f787f4
5 changed files with 10 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public class MiningManager extends SkillManager {
Player player = getPlayer();
return canUseBlastMining() && player.isSneaking()
&& ItemUtils.isPickaxe(getPlayer().getInventory().getItemInMainHand())
&& (ItemUtils.isPickaxe(getPlayer().getInventory().getItemInMainHand()) || player.getInventory().getItemInMainHand().getType() == Config.getInstance().getDetonatorItem())
&& Permissions.remoteDetonation(player);
}