Skip to content

Commit

Permalink
Properly obtain sounds from configuration
Browse files Browse the repository at this point in the history
Fixes #35
  • Loading branch information
dmulloy2 committed Jun 19, 2015
1 parent 25a6543 commit 8c9db66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/dmulloy2/swornguns/SwornGuns.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public static final Sound getSound(String sound)
{
try
{
return Sound.valueOf(sound.toLowerCase().replaceAll("_", " "));
return Sound.valueOf(sound.toUpperCase().replaceAll(" ", "_"));
} catch (Throwable ex) { }
return null;
}
Expand Down

0 comments on commit 8c9db66

Please sign in to comment.