cleanup player controller comment
This commit is contained in:
parent
4a84f9e096
commit
64b256c713
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue