Fix sound
This commit is contained in:
parent
cfefac1418
commit
7d04348853
1 changed files with 2 additions and 2 deletions
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue