Skip to content

Commit

Permalink
Update sound pitch
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed Aug 6, 2024
1 parent ab94097 commit 2a8284f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public static void onBlockMelee(LivingAttackEvent event) {
Item item = stack.getItem();
MeleeComponent meleeComp = ((IItemWeapon) stack.getItem()).getMeleeComponent();

// Additional block sound for battleaxes and katanas.
// Additional blocking sound for battleaxes and katanas.
if (item instanceof ItemMelee && !(meleeComp instanceof MeleeCompBoomerang) && BEConfig.general_settings.MELEE_BLOCKING_SOUNDS) {
player.getEntityWorld().playSound(null, player.getPosition(), SoundEvents.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, SoundCategory.PLAYERS, 0.6F, 0.8F + player.getEntityWorld().rand.nextFloat() * 0.4F);
player.getEntityWorld().playSound(null, player.getPosition(), SoundEvents.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, SoundCategory.PLAYERS, 0.6F, 3.0F + player.getEntityWorld().rand.nextFloat() * 0.4F);
}
}
}
Expand Down

0 comments on commit 2a8284f

Please sign in to comment.