Fix indent.
This commit is contained in:
parent
779759ac1e
commit
1ba5665e07
1 changed files with 9 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue