Skip to content

Commit f5add03

Browse files
committed
swapped the pitch and volume arguments
1 parent c1016fc commit f5add03

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
@@ -1182,7 +1182,7 @@ public enum ScriptActionType {
11821182

11831183
if (sndManager.getKeys().contains(sndid)) {
11841184
SoundEvent snd = new SoundEvent(sndid);
1185-
sndManager.play(PositionedSoundInstance.master(snd, (float) volume, (float) pitch));
1185+
sndManager.play(PositionedSoundInstance.master(snd, (float) pitch, (float) volume));
11861186
} else {
11871187
ChatUtil.error("Unknown sound: " + sound);
11881188

0 commit comments

Comments
 (0)