Permalink
Browse files

Firearm sounds were too quiet

  • Loading branch information...
Ri5ux committed Sep 25, 2018
1 parent 8935424 commit da0101ae09a100e848fe5c52b351b7d7e842a401
@@ -261,7 +261,7 @@ public void onUpdate(ItemStack itemstack, World world, Entity entity, int slot,
if (this.profile != null && this.canSoundPlay())
{
world.playSound(player.getPosition().getX(), player.getPosition().getY(), player.getPosition().getZ(), this.profile.getSound().event(), SoundCategory.PLAYERS, 0.5F, 1F, true);
world.playSound(player.getPosition().getX(), player.getPosition().getY(), player.getPosition().getZ(), this.profile.getSound().event(), SoundCategory.PLAYERS, 1F, 1F, true);
this.setLastSoundPlayed(System.currentTimeMillis());
}
@@ -86,7 +86,7 @@ public void run()
if (itemFirearm != null && itemFirearm.canSoundPlay())
{
world.playSound(player.getPosition().getX(), player.getPosition().getY(), player.getPosition().getZ(), firearm.getSound().event(), SoundCategory.PLAYERS, 0.5F, 1F, true);
world.playSound(player.getPosition().getX(), player.getPosition().getY(), player.getPosition().getZ(), firearm.getSound().event(), SoundCategory.PLAYERS, 1F, 1F, true);
itemFirearm.setLastSoundPlayed(System.currentTimeMillis());
}

0 comments on commit da0101a

Please sign in to comment.