Skip to content

Commit dadd24c

Browse files
authored
Merge pull request #23 from GeorgeRNG/master
Volume and pitch were inverted on PlaySound
2 parents d1d6546 + 7e04f92 commit dadd24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/techstreet/dfscript/script/action/ScriptActionType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ public enum ScriptActionType {
11271127
}
11281128

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

0 commit comments

Comments
 (0)