Fix sound

This commit is contained in:
Justin Vitale 2020-07-08 01:40:41 +10:00
parent cfefac1418
commit 7d04348853

View file

@ -75,8 +75,8 @@ public class ResinBasinBlockEntity extends MachineBaseBlockEntity {
pouringTimer--; pouringTimer--;
// Play pouring audio // Play pouring audio
if(world.getTime() % 50 == 0){ if(world.getTime() % 20 == 0){
world.playSound(pos.getX(),pos.getY(),pos.getZ(), ModSounds.SAP_EXTRACT, SoundCategory.BLOCKS, 0.6F, 1F, false); world.playSound(null, pos, ModSounds.SAP_EXTRACT, SoundCategory.BLOCKS, 1F, 1F);
} }
if(pouringTimer == 0){ if(pouringTimer == 0){