Changed sound length so it's more "responsive" in game

This commit is contained in:
Brian Ricketts 2013-01-16 03:41:03 -06:00
parent cac04ed7e4
commit 787da0aeae
2 changed files with 21 additions and 21 deletions

View file

@ -1,21 +1,21 @@
package assemblyline.client.sound;
import net.minecraftforge.client.event.sound.SoundLoadEvent;
import net.minecraftforge.event.ForgeSubscribe;
public class SoundManager
{
@ForgeSubscribe
public void onSound(SoundLoadEvent event)
{
try
{
event.manager.soundPoolSounds.addSound("assemblyline/conveyor.wav", getClass().getResource("conveyor.wav"));
}
catch (Exception e)
{
System.err.println("Failed to register one or more sounds.");
}
}
}
package assemblyline.client.sound;
import net.minecraftforge.client.event.sound.SoundLoadEvent;
import net.minecraftforge.event.ForgeSubscribe;
public class SoundManager
{
@ForgeSubscribe
public void onSound(SoundLoadEvent event)
{
try
{
event.manager.soundPoolSounds.addSound("assemblyline/conveyor.wav", getClass().getResource("conveyor.wav"));
}
catch (Exception e)
{
System.err.println("Failed to register one or more sounds.");
}
}
}