cleanup player controller comment

This commit is contained in:
Sen 2025-05-25 15:27:36 +02:00
parent 4a84f9e096
commit 64b256c713

View file

@ -148,10 +148,8 @@ public class PlayerController {
this.curBlockDamageMP += block.getPlayerRelativeBlockHardness(this.gm.player, this.gm.player.worldObj, posBlock);
if(this.stepSoundTickCounter % 4.0F == 0.0F && block.sound.getStepSound() != null) {
this.gm.getSoundManager()
.playSound(new PositionedSound(block.sound.getStepSound(), 0.25F,
/* block.sound.getFrequency() * 0.5F, */ (float)posBlock.getX() + 0.5F, (float)posBlock.getY() + 0.5F,
(float)posBlock.getZ() + 0.5F));
this.gm.getSoundManager().playSound(new PositionedSound(block.sound.getStepSound(), 0.25F,
(float)posBlock.getX() + 0.5F, (float)posBlock.getY() + 0.5F, (float)posBlock.getZ() + 0.5F));
}
++this.stepSoundTickCounter;