mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fix for case insensitivity
This commit is contained in:
parent
09e1241735
commit
a40e7b119c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user