Fix indent.

This commit is contained in:
Ben Spiers 2014-08-30 02:54:19 +01:00
parent 779759ac1e
commit 1ba5665e07

View file

@ -110,6 +110,7 @@ public class SoundHandler
map = new HashMap<String, IResettableSound>();
soundMaps.put(name, map);
}
return map;
}
@ -126,13 +127,15 @@ public class SoundHandler
public static Map<ISound, String> getSoundMap()
{
if(invPlayingSounds == null)
try {
invPlayingSounds = (Map<ISound, String>)MekanismUtils.getPrivateValue(getSoundManager(), net.minecraft.client.audio.SoundManager.class, ObfuscatedNames.SoundManager_invPlayingSounds);
} catch(Exception e) {
invPlayingSounds = null;
}
try
{
invPlayingSounds = (Map<ISound, String>)MekanismUtils.getPrivateValue(getSoundManager(), net.minecraft.client.audio.SoundManager.class, ObfuscatedNames.SoundManager_invPlayingSounds);
} catch(Exception e)
{
invPlayingSounds = null;
}
return invPlayingSounds;
}
public static boolean canRestartSound(ITickableSound sound)