Skip to content

Commit

Permalink
Try fix 1.18- builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Sep 12, 2023
1 parent ea4acd4 commit bc721b6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ public void playAnnSound(ResourceLocation sound, float volume, float pitch) {
Minecraft.getInstance().getSoundManager().play(new SimpleSoundInstance(
sound, SoundSource.BLOCKS,
volume, pitch,
SoundInstance.createUnseededRandom(), false,
0, SoundInstance.Attenuation.NONE, 0.0, 0.0, 0.0, true
#if MC_VERSION >= "11900"
SoundInstance.createUnseededRandom(),
#endif
false, 0, SoundInstance.Attenuation.NONE, 0.0, 0.0, 0.0, true
));
}
});
Expand Down

0 comments on commit bc721b6

Please sign in to comment.