|
@@ -382,7 +382,7 @@ public class BlockListener implements Listener {
|
|
|
* We don't need to check permissions here because they've already been checked for the ability to even activate.
|
|
|
*/
|
|
|
if (mcMMOPlayer.getAbilityMode(AbilityType.TREE_FELLER) && BlockUtils.isLog(blockState) && Config.getInstance().getTreeFellerSoundsEnabled()) {
|
|
|
- player.playSound(blockState.getLocation(), Sound.FIZZ, Misc.FIZZ_VOLUME, Misc.getFizzPitch());
|
|
|
+ player.playSound(blockState.getLocation(), Sound.BLOCK_FIRE_EXTINGUISH, Misc.FIZZ_VOLUME, Misc.getFizzPitch());
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -421,7 +421,7 @@ public class BlockListener implements Listener {
|
|
|
else if (mcMMOPlayer.getAbilityMode(AbilityType.BERSERK) && heldItem.getType() == Material.AIR) {
|
|
|
if (AbilityType.BERSERK.blockCheck(block.getState()) && EventUtils.simulateBlockBreak(block, player, true)) {
|
|
|
event.setInstaBreak(true);
|
|
|
- player.playSound(block.getLocation(), Sound.ITEM_PICKUP, Misc.POP_VOLUME, Misc.getPopPitch());
|
|
|
+ player.playSound(block.getLocation(), Sound.ENTITY_ITEM_PICKUP, Misc.POP_VOLUME, Misc.getPopPitch());
|
|
|
}
|
|
|
else if (mcMMOPlayer.getUnarmedManager().canUseBlockCracker() && BlockUtils.affectedByBlockCracker(blockState) && EventUtils.simulateBlockBreak(block, player, true)) {
|
|
|
if (mcMMOPlayer.getUnarmedManager().blockCrackerCheck(blockState)) {
|
|
@@ -431,7 +431,7 @@ public class BlockListener implements Listener {
|
|
|
}
|
|
|
else if (mcMMOPlayer.getWoodcuttingManager().canUseLeafBlower(heldItem) && BlockUtils.isLeaves(blockState) && EventUtils.simulateBlockBreak(block, player, true)) {
|
|
|
event.setInstaBreak(true);
|
|
|
- player.playSound(blockState.getLocation(), Sound.ITEM_PICKUP, Misc.POP_VOLUME, Misc.getPopPitch());
|
|
|
+ player.playSound(blockState.getLocation(), Sound.ENTITY_ITEM_PICKUP, Misc.POP_VOLUME, Misc.getPopPitch());
|
|
|
}
|
|
|
}
|
|
|
}
|