Fix textures, hopefully fix sounds
This commit is contained in:
parent
8a79352563
commit
8095eb206c
3 changed files with 2 additions and 2 deletions
|
@ -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 |
Loading…
Add table
Reference in a new issue