Skip to content

Commit

Permalink
Silence altar active sound on tile entity removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Jan 30, 2025
1 parent 3546b00 commit 394e1f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public HSSoundAltar(HSTileEntityAltar altar, float volume)
@Override
public void update()
{
if (this.altar.bookSpread < 0.5F)
if (this.altar.isInvalid() || this.altar.bookSpread < 0.5F)
{
this.volume = this.volume - 0.05F;
}
Expand Down

0 comments on commit 394e1f0

Please sign in to comment.