Fix textures, hopefully fix sounds

This commit is contained in:
Aidan Brady 2013-11-17 13:31:56 -05:00
parent 8a79352563
commit 8095eb206c
3 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ public class SoundHandler
public void preloadSounds()
{
URL url = getClass().getClassLoader().getResource("assets/mekanism/sound");
File dir = new File(url.getFile().replace("%20", " "));
File dir = new File(url.getFile().replace("%20", " ").replace(".jar!", ".jar"));
if(dir != null && dir.exists())
{
@ -69,7 +69,7 @@ public class SoundHandler
}
url = getClass().getClassLoader().getResource("assets/mekanism/sound/etc");
dir = new File(url.getFile().replace("%20", " "));
dir = new File(url.getFile().replace("%20", " ").replace(".jar!", ".jar"));
if(dir != null && dir.exists())
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB