Improve machine sound

This commit is contained in:
modmuss50 2017-07-01 13:03:04 +01:00
parent 6995f42924
commit b803f1762a
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
2 changed files with 3 additions and 4 deletions

View file

@ -66,10 +66,9 @@ public class ModSounds {
@Override
public void playSound(boolean firstRun, TileEntity tileEntity) {
//TODO find a loopable sound
// tileEntity.getWorld().playSound(null, tileEntity.getPos().getX(), tileEntity.getPos().getY(),
// tileEntity.getPos().getZ(), ModSounds.MACHINE_RUN,
// SoundCategory.BLOCKS, 0.1F, 1F);
tileEntity.getWorld().playSound(null, tileEntity.getPos().getX(), tileEntity.getPos().getY(),
tileEntity.getPos().getZ(), ModSounds.MACHINE_RUN,
SoundCategory.BLOCKS, 0.1F, 1F);
}
}