Skip to content

Commit

Permalink
Adjust altar approach sound volume
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Jan 30, 2025
1 parent d4393d8 commit 3546b00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void update()
if (this.bookSpread == 0.0F)
{
SoundEvent sndEvt = this instanceof HSTileEntityBloodAltar ? HSSoundEvents.BLOCK_BLOOD_ALTAR_APPROACH.getSoundEvent() : HSSoundEvents.BLOCK_SOUL_ALTAR_APPROACH.getSoundEvent();
this.world.playSound(null, this.pos, sndEvt, SoundCategory.BLOCKS, 0.2F, 1.5F / (this.getWorld().rand.nextFloat() * 0.4F + 1.2F));
this.world.playSound(null, this.pos, sndEvt, SoundCategory.BLOCKS, 0.3F, 1.5F / (this.getWorld().rand.nextFloat() * 0.4F + 1.2F));
if (FMLLaunchHandler.side().isClient() && this.world.isRemote)
{
playActiveSound();
Expand Down

0 comments on commit 3546b00

Please sign in to comment.