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--;
// Play pouring audio
if(world.getTime() % 50 == 0){
world.playSound(pos.getX(),pos.getY(),pos.getZ(), ModSounds.SAP_EXTRACT, SoundCategory.BLOCKS, 0.6F, 1F, false);
if(world.getTime() % 20 == 0){
world.playSound(null, pos, ModSounds.SAP_EXTRACT, SoundCategory.BLOCKS, 1F, 1F);
}
if(pouringTimer == 0){