From 9bae34968205077e000167326181614753d9abbc Mon Sep 17 00:00:00 2001 From: Adubbz Date: Tue, 2 Jul 2013 21:47:02 +1000 Subject: [PATCH] Attempted to get the records working --- src/minecraft/biomesoplenty/handlers/SoundHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/minecraft/biomesoplenty/handlers/SoundHandler.java b/src/minecraft/biomesoplenty/handlers/SoundHandler.java index f7114c07b..8eafe6c4e 100644 --- a/src/minecraft/biomesoplenty/handlers/SoundHandler.java +++ b/src/minecraft/biomesoplenty/handlers/SoundHandler.java @@ -12,7 +12,7 @@ import cpw.mods.fml.relauncher.SideOnly; public class SoundHandler { - static String[] recordSoundFiles = { "BiomesOPlenty:records/" + "bopdisc.ogg", "BiomesOPlenty:records/" + "bopdiscmud.ogg"}; + static String[] recordSoundFiles = { "/assets/BiomesOPlenty/records/" + "bopdisc.ogg", "BiomesOPlenty:records/" + "bopdiscmud.ogg"}; static String[] soundFiles = { }; @SideOnly(Side.CLIENT) @@ -52,11 +52,11 @@ public class SoundHandler { if (event.name == "bopdisc") { - FMLClientHandler.instance().getClient().sndManager.playStreaming("BiomesOPlenty.records.bopdisc", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F); + FMLClientHandler.instance().getClient().sndManager.playStreaming("assets.BiomesOPlenty.records.bopdisc", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F); } else if (event.name == "bopdiscmud") { - FMLClientHandler.instance().getClient().sndManager.playStreaming("BiomesOPlenty.records.bopdiscmud", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F); + FMLClientHandler.instance().getClient().sndManager.playStreaming("assets.BiomesOPlenty.records.bopdiscmud", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F); } } }