Skip to content

Commit

Permalink
Merge pull request DFScripting#23 from GeorgeRNG/master
Browse files Browse the repository at this point in the history
Volume and pitch were inverted on PlaySound
  • Loading branch information
GeorgeRNG authored Oct 22, 2022
2 parents d1d6546 + 7e04f92 commit dadd24c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ public enum ScriptActionType {
}

if (snd != null) {
io.github.techstreet.dfscript.DFScript.MC.getSoundManager().play(PositionedSoundInstance.master(snd, (float) volume, (float) pitch));
io.github.techstreet.dfscript.DFScript.MC.getSoundManager().play(PositionedSoundInstance.master(snd, (float) pitch, (float) volume));
} else {
ChatUtil.error("Unknown sound: " + sound);

Expand Down

0 comments on commit dadd24c

Please sign in to comment.