Fix for case insensitivity

This commit is contained in:
Rosenthalk0 2023-06-23 16:48:27 -05:00
parent 09e1241735
commit a40e7b119c

View File

@ -36,7 +36,7 @@ public class SoundObject {
}
this.sound = sound;
this.key = key;
this.key = key.toLowerCase();
volume = split.length > 1 ? Float.parseFloat(split[1]) : 1;
pitch = split.length > 2 ? Float.parseFloat(split[2]) : 1;