After much client code isolation, there should be no more issues on the server side with sounds

This commit is contained in:
Aidan C. Brady committed 2015-03-18 13:26:12 -04:00
1 parent 12b6b4610b
commit 339e048a4e
9 files changed
+103 -41

No files matched your search

@@ -1,9 +1,10 @@
package mekanism.client.sound;
import mekanism.common.base.IHasSound;
import net.minecraft.util.ResourceLocation;
public class TileSound extends Sound implements IResettableSound {
public class TileSound extends Sound implements IResettableSound
{
IHasSound source;
boolean beginFadeOut;
@@ -85,7 +86,7 @@ public class TileSound extends Sound implements IResettableSound {
ticks++;
}
if(!(source.shouldPlaySound() && source.getSound() == this))
if(!(source.shouldPlaySound() && source.getSound().sound == this))
{
beginFadeOut = true;
ticks = 0;